layout/reftests/scoped-style/scoped-style-font-face.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/scoped-style/scoped-style-font-face.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<!DOCTYPE html>
     1.5 +<body>
     1.6 +  <style>
     1.7 +    @font-face {
     1.8 +      font-family: Ahem;
     1.9 +      url: src(../fonts/Ahem.ttf);
    1.10 +    }
    1.11 +    #a { font-family: Ahem }
    1.12 +    #c { font-family: Ahem2 }
    1.13 +  </style>
    1.14 +  <p id=a>First</p>
    1.15 +  <p>
    1.16 +    <style scoped>
    1.17 +      @font-face {
    1.18 +        font-family: Ahem2;
    1.19 +        url: src(../fonts/Ahem.ttf);
    1.20 +      }
    1.21 +      p { font-family: Ahem2; color: blue }
    1.22 +    </style>
    1.23 +    Second
    1.24 +  </p>
    1.25 +  <p id=c>Third</p>
    1.26 +</body>

mercurial