Bug 1072072 - Fix invalid @font-face rules in scoped-style-font-face.html. r=dbaron
authorCameron McCormack <cam@mcc.id.au>
Thu, 25 Sep 2014 09:25:41 +1000
changeset 230352 e0f360b95d4b8843e99c8bf46d90b2c66544a17f
parent 230351 c94ef44023a4e6c3715e04b4810a272fa8bc26ac
child 230353 e6e63113336d5f447a0d9cbb75dc49727059f630
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1072072
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1072072 - Fix invalid @font-face rules in scoped-style-font-face.html. r=dbaron
layout/reftests/scoped-style/scoped-style-font-face-ref.html
layout/reftests/scoped-style/scoped-style-font-face.html
--- a/layout/reftests/scoped-style/scoped-style-font-face-ref.html
+++ b/layout/reftests/scoped-style/scoped-style-font-face-ref.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <body>
   <style>
     @font-face {
       font-family: Ahem;
-      url: src(../fonts/Ahem.ttf);
+      src: url(../fonts/Ahem.ttf);
     }
     #a { font-family: Ahem }
   </style>
   <p id=a>First</p>
   <p style="color: blue">Second</p>
   <p>Third</p>
 </body>
--- a/layout/reftests/scoped-style/scoped-style-font-face.html
+++ b/layout/reftests/scoped-style/scoped-style-font-face.html
@@ -1,23 +1,23 @@
 <!DOCTYPE html>
 <body>
   <style>
     @font-face {
       font-family: Ahem;
-      url: src(../fonts/Ahem.ttf);
+      src: url(../fonts/Ahem.ttf);
     }
     #a { font-family: Ahem }
     #c { font-family: Ahem2 }
   </style>
   <p id=a>First</p>
   <p>
     <style scoped>
       @font-face {
         font-family: Ahem2;
-        url: src(../fonts/Ahem.ttf);
+        src: url(../fonts/Ahem.ttf);
       }
       p { font-family: Ahem2; color: blue }
     </style>
     Second
   </p>
   <p id=c>Third</p>
 </body>