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

Side by Side Diff: LayoutTests/fast/css/all-shorthand.html

Issue 216803002: Implement all shorthand property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated css-properties-as-js-properties-expected.txt Created 6 years, 9 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 <style>
5 #target1 { color: red; background-color: currentColor; }
6 #target1 { all: initial; }
7 #target1 { color: green; }
8
9 #parent { color: green; }
10 #target2 { color: red; background-color: currentColor; }
11 #target2 { all: inherit; }
12
13 #target3 { color: green !important; }
14 #target3 { all: initial; }
15
16 #target4 { color: red !important; }
17 #target4 { all: initial !important; }
18 #target4 { background-color: red; }
19
20 #target5 { all: initial !important; }
21 #target5 { background-color: red; }
22 #target5 { color: green !important; }
23 </style>
24 </head>
25 <body>
26 <!-- Test for crbug.com/172051: all shorthand property -->
rune 2014/03/30 22:00:25 I think we use 4 space indentation in tests as wel
27 <div id='target1'>green color, no background-color</div>
28
29 <div id='parent'>
30 <div id='target2'>green color, no background-color</div>
31 </div>
32
33 <div id='target3'>green color</div>
34
35 <div id='target4'>not red color</div>
36
37 <div id='target5'>green color, no background-color</div>
38 </body>
39 </html>
40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698