Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |