Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/gecko/variables/variable-font-face-02.html

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use m_unit Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <!DOCTYPE html>
6 <title>CSS Test: Test the invalid use of a variable in an @font-face rule where the variable is defined on the root element.</title>
7 <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
8 <link rel="help" href="http://www.w3.org/TR/css-variables-1/#defining-variables" >
9 <link rel="match" href="variable-font-face-02-ref.html">
10 <meta name="flags" content="ahem">
11 <style>
12 :root {
13 --a: MyTestFontName;
14 }
15 @font-face {
16 font-family: var(--a);
17 src: url(../../../resources/Ahem.ttf);
18 }
19 @font-face {
20 font-family: MyTestFontName2;
21 src: url(../../../resources/Ahem.ttf);
22 }
23 #a {
24 font-family: MyTestFontName;
25 }
26 #b {
27 font-family: MyTestFontName2;
28 }
29 </style>
30 <p id=a>This text must not be in Ahem.</p>
31 <p id=b>But this text must be in Ahem.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698