Index: LayoutTests/css3/flexbox/repaint-opacity-change.html |
diff --git a/LayoutTests/css3/flexbox/repaint-opacity-change.html b/LayoutTests/css3/flexbox/repaint-opacity-change.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..63ffcc2ee3884a83462a23bf7b8e51111163a441 |
--- /dev/null |
+++ b/LayoutTests/css3/flexbox/repaint-opacity-change.html |
@@ -0,0 +1,38 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script> |
+<script> |
+function repaintTest() |
+{ |
+ if (window.testRunner) { |
+ document.getElementById('one').style.opacity = '0.5'; |
+ document.body.offsetTop; |
+ document.getElementById('one').style.opacity = '1'; |
+ document.body.offsetTop; |
+ } |
+} |
+</script> |
+<style> |
+.exp { |
+ margin: 10px; |
+ padding: 10px; |
+ opacity: 1; |
+} |
+.btn { |
ojan
2014/01/14 22:05:02
Wat?
|
+ background-color: cyan; |
+ padding: 10px; |
+ margin: 10px; |
+} |
+.flex { |
+ display: flex; |
+ flex-direction: column; |
+} |
+</style> |
+</head> |
+<body onload="runRepaintTest()"> |
+<div class="flex"> |
+ <div class="exp" id="one"></div> |
+ <div class="exp" id="two"></div> |
+</div> |
+</body> |