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

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

Issue 339163002: Implemented applyPropertyAll for applying all shorthand property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 #target1 { color: red; background-color: currentColor; } 3 #target1 { display: initial; color: green; background: initial; }
4 #target1 { color: green; }
5 4
6 #parent { color: green; } 5 #parent { color: green; }
7 #target2 { color: red; background-color: currentColor; } 6 #target2 { display: inherit; color: inherit; background: inherit; }
8 7
9 #target3 { color: green !important; } 8 #target3 { display: initial; color: green; background: initial; }
10 9
11 #target4 { color: red !important; } 10 #target4 { display: initial; color: initial; background: initial; }
12 #target4 { background-color: red; }
13 11
14 #target5 { background-color: red; } 12 #target5 { display: initial; color: green; background: initial; }
15 #target5 { color: green !important; }
16 13
17 #target6 { color: red !important; } 14 #target6 { display: initial; color: initial; background: initial; }
18 15
19 #target7 { direction: rtl; } 16 #target7 { display: initial; direction: rtl; }
20 17
21 #target8 { direction: rtl !important; } 18 #target8 { display: initial; direction: rtl; }
22 19
23 #parent9 { color: green; } 20 #parent9 { color: green; }
21 #target9 { display: initial; color: inherit; }
24 </style> 22 </style>
25 <div id='target1'>green color, green background-color</div> 23 <div id='target1'>green color, no background-color</div>
26 24
27 <div id='parent'> 25 <div id='parent'>
28 <div id='target2'>red color, red background-color</div> 26 <div id='target2'>green color, no background-color</div>
29 </div> 27 </div>
30 28
31 <div id='target3'>green color</div> 29 <div id='target3'>green color</div>
32 30
33 <div id='target4'>red color, red background-color</div> 31 <div id='target4'>not red color, no background-color</div>
34 32
35 <div id='target5'>green color, red background-color</div> 33 <div id='target5'>green color, no background-color</div>
36 34
37 <div id='target6'>red color</div> 35 <div id='target6'>not red color</div>
38 36
39 <div id='target7'>direction is rtl</div> 37 <div id='target7'>direction is rtl</div>
40 38
41 <div id='target8'>direction is rtl</div> 39 <div id='target8'>direction is rtl</div>
42 40
43 <div id='parent9'> 41 <div id='parent9'>
44 <div id='target9'>green color</div> 42 <div id='target9'>green color</div>
45 </div> 43 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/all-shorthand.html ('k') | Source/build/scripts/templates/StylePropertyShorthand.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698