layout/reftests/w3c-css/submitted/variables/variable-font-face-01.html

Thu, 15 Jan 2015 21:13:52 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:13:52 +0100
branch
TOR_BUG_9701
changeset 12
7540298fafa1
permissions
-rw-r--r--

Remove forgotten relic of ABI crash risk averse overloaded method change.

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 4 -->
michael@0 5 <!DOCTYPE html>
michael@0 6 <title>CSS Test: Test the invalid declaration and use of a variable in an @font-face rule.</title>
michael@0 7 <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
michael@0 8 <link rel="help" href="http://www.w3.org/TR/css-variables-1/#defining-variables">
michael@0 9 <link rel="match" href="variable-font-face-01-ref.html">
michael@0 10 <meta name="flags" content="ahem">
michael@0 11 <style>
michael@0 12 @font-face {
michael@0 13 --a: MyTestFontName;
michael@0 14 font-family: var(--a);
michael@0 15 src: url(../../../fonts/Ahem.ttf);
michael@0 16 }
michael@0 17 @font-face {
michael@0 18 font-family: MyTestFontName2;
michael@0 19 src: url(../../../fonts/Ahem.ttf);
michael@0 20 }
michael@0 21 #a {
michael@0 22 font-family: MyTestFontName;
michael@0 23 }
michael@0 24 #b {
michael@0 25 font-family: MyTestFontName2;
michael@0 26 }
michael@0 27 </style>
michael@0 28 <p id=a>This text must not be in Ahem.</p>
michael@0 29 <p id=b>But this text must be in Ahem.</p>

mercurial