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

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: 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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #target1 { color: red; background-color: currentColor; }
4 #target1 { all: initial; }
5 #target1 { color: green; }
6
7 #parent { color: green; }
8 #target2 { color: red; background-color: currentColor; }
9 #target2 { all: inherit; }
10
11 #target3 { color: green !important; }
12 #target3 { all: initial; }
13
14 #target4 { color: red !important; }
15 #target4 { all: initial !important; }
16 #target4 { background-color: red; }
17
18 #target5 { all: initial !important; }
19 #target5 { background-color: red; }
20 #target5 { color: green !important; }
21
22 #target6 { all: initial !important; }
23 #target6 { color: red !important; }
24 #target6 { all: initial !important; }
25
26 #target7 { all: initial !important; }
27 #target7 { direction: rtl; }
28
29 #target8 { all: initial !important; }
30 #target8 { direction: rtl !important; }
31 #target8 { all: initial !important; }
32
33 #parent9 { color: green; }
34 #target9 { all: unset; }
35 </style>
36 <!-- Test for crbug.com/172051: all shorthand property -->
37 <div id='target1'>green color, no background-color</div>
38
39 <div id='parent'>
40 <div id='target2'>green color, no background-color</div>
41 </div>
42
43 <div id='target3'>green color</div>
44
45 <div id='target4'>not red color</div>
46
47 <div id='target5'>green color, no background-color</div>
48
49 <div id='target6'>not red color</div>
50
51 <div id='target7'>direction is rtl</div>
52
53 <div id='target8'>direction is rtl</div>
54
55 <div id='parent9'>
56 <div id='target9'>green color</div>
57 </div>
58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698