Chromium Code Reviews| Index: LayoutTests/fast/css/all-inherit-or-unset-color.html |
| diff --git a/LayoutTests/fast/css/all-inherit-or-unset-color.html b/LayoutTests/fast/css/all-inherit-or-unset-color.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1f4617ed3d4425d7e68d9dcf706f618899d2aaa1 |
| --- /dev/null |
| +++ b/LayoutTests/fast/css/all-inherit-or-unset-color.html |
| @@ -0,0 +1,25 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +#parent1 { color: red; } |
| + |
| +#target1 |
| +{ |
| + all: inherit; |
| + color: green; |
| +} |
| + |
| +#parent2 { color: red; } |
| + |
| +#target2 |
| +{ |
| + all: unset; |
| + color: #90EE90; |
| +} |
| +</style> |
| +<div id='parent1'> |
| + <div id='target1'>Testing target1 color -> should be green</div> |
| +</div> |
| + |
| +<div id='parent2'> |
| + <div id='target2'>Testing target2 color -> should be light green</div> |
| +</div> |