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..da9d314c30a3e5129b2794779eda0bc2b7a0081c |
| --- /dev/null |
| +++ b/LayoutTests/fast/css/all-shorthand.html |
| @@ -0,0 +1,40 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<head> |
| +<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; } |
| +</style> |
| +</head> |
| +<body> |
| + <!-- 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
|
| + <div id='target1'>green color, no background-color</div> |
| + |
| + <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> |
| +</body> |
| +</html> |
| + |