Chromium Code Reviews| Index: LayoutTests/fast/css/all-shorthand.html |
| diff --git a/LayoutTests/fast/css/all-shorthand.html b/LayoutTests/fast/css/all-shorthand.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c4593212252645353ffc0fccc748139f91e5073e |
| --- /dev/null |
| +++ b/LayoutTests/fast/css/all-shorthand.html |
| @@ -0,0 +1,57 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +#target1 { color: red; background-color: currentColor; } |
| +#target1 { all: initial; } |
| +#target1 { color: green; } |
| + |
| +#parent { color: green; } |
| +#target2 { color: red; background-color: currentColor; } |
| +#target2 { all: inherit; } |
| + |
| +#target3 { color: green !important; } |
| +#target3 { all: initial; } |
| + |
| +#target4 { color: red !important; } |
| +#target4 { all: initial !important; } |
| +#target4 { background-color: red; } |
| + |
| +#target5 { all: initial !important; } |
| +#target5 { background-color: red; } |
| +#target5 { color: green !important; } |
| + |
| +#target6 { all: initial !important; } |
| +#target6 { color: red !important; } |
| +#target6 { all: initial !important; } |
| + |
| +#target7 { all: initial !important; } |
| +#target7 { direction: rtl; } |
| + |
| +#target8 { all: initial !important; } |
| +#target8 { direction: rtl !important; } |
| +#target8 { all: initial !important; } |
| + |
| +#parent9 { color: green; } |
| +#target9 { all: unset; } |
| +</style> |
| +<!-- Test for crbug.com/172051: all shorthand property --> |
| +<div id='target1'>green color, no background-color</div> |
|
rune
2014/06/13 13:32:53
This text matches the expected result with "all" i
tasak
2014/06/16 07:12:07
I'm sorry. I would like to confirm.
What should I
rune
2014/06/16 07:40:23
So, I thought these tests were all failing wrt the
tasak
2014/06/16 09:09:45
I see.
Thank you.
I updated the text. Now the text
|
| + |
| +<div id='parent'> |
| + <div id='target2'>green color, no background-color</div> |
| +</div> |
| + |
| +<div id='target3'>green color</div> |
| + |
| +<div id='target4'>not red color</div> |
| + |
| +<div id='target5'>green color, no background-color</div> |
| + |
| +<div id='target6'>not red color</div> |
| + |
| +<div id='target7'>direction is rtl</div> |
| + |
| +<div id='target8'>direction is rtl</div> |
| + |
| +<div id='parent9'> |
| + <div id='target9'>green color</div> |
| +</div> |