Chromium Code Reviews| Index: LayoutTests/fast/repaint/background-currentColor-repaint.html |
| diff --git a/LayoutTests/fast/repaint/background-currentColor-repaint.html b/LayoutTests/fast/repaint/background-currentColor-repaint.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d905fcc146f1485172c32fefa565812250846629 |
| --- /dev/null |
| +++ b/LayoutTests/fast/repaint/background-currentColor-repaint.html |
| @@ -0,0 +1,34 @@ |
| +<!DOCTYPE html> |
| +<script src="resources/text-based-repaint.js"></script> |
| + |
| +<style> |
| +#input1 { |
|
Timothy Loh
2015/08/28 04:48:44
input is a weird name..
I would've written:
div
nainar1
2015/08/28 05:02:40
Done
|
| + width: 100px; |
| + height: 100px; |
| + background: currentColor; |
| + color: blue; |
| +} |
| + |
| +#input2 { |
| + width: 100px; |
| + height: 100px; |
| + background: currentColor; |
| + color: transparent; |
| +} |
| + |
| +</style> |
| + |
| +<div id="input1"></div> |
| +<div id="input2"></div> |
| + |
| +<script> |
| +function repaintTest() |
| +{ |
| + input1.style.color = 'transparent'; |
| + input2.style.color = 'blue'; |
| +} |
| + |
| +window.onload = runRepaintTest; |
| + |
| +</script> |
| + |