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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-variables-1/css-vars-custom-property-inheritance.html

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Whoops, the forward declaration just needed to be moved. Created 5 years, 2 months 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 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>CSS Variables Test: custom properties use normal inheritance and casc ade rules</title>
6 <link rel="author" title="Noah Collins" href="mailto:noahcollins@gmail.com">
7 <link rel="help" href="http://www.w3.org/TR/css-variables-1/#using-variables ">
8 <meta name="assert" content="custom properties are resolved with the normal inheritance and cascade rules">
9 <link rel="match" href="reference/css-vars-custom-property-inheritance-ref.h tml">
10 <style type="text/css">
11
12 /* test cascade importance */
13 :root { --color: #1c1 !important; }
14 :root { --color: red; }
15
16 /* test cascade order */
17 * { color: red; }
18
19 /* test cascade order */
20 * { color: var(--color); }
21
22 </style>
23 </head>
24 <body>
25 <p>Green</p>
26 <p>Green</p>
27 <p>Green</p>
28 <p>The test passes if everything is green. Any red means the test failed.</p >
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698