Index: LayoutTests/compositing/squashing/visibility-composited-squashing-expected.html |
diff --git a/LayoutTests/compositing/squashing/visibility-composited-squashing-expected.html b/LayoutTests/compositing/squashing/visibility-composited-squashing-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b85e884d1a3c9bde128ad16e92102be504a2fa58 |
--- /dev/null |
+++ b/LayoutTests/compositing/squashing/visibility-composited-squashing-expected.html |
@@ -0,0 +1,42 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <style> |
+ .set { |
+ position: absolute; |
+ top: 8px; |
+ } |
+ .box { |
+ height: 100px; |
+ width: 100px; |
+ background-color: lightblue; |
+ } |
+ .squashed { |
+ height: 40px; |
+ width: 40px; |
+ background-color: lightgreen; |
+ position: absolute; |
+ left: 16px; |
+ } |
+ .hidden { |
+ visibility: hidden; |
+ } |
+ .visible { |
+ visibility: visible; |
+ } |
+ </style> |
+</head> |
+<body> |
+ <div class="set"> |
+ <div class="box"></div> |
+ <div class="squashed hidden" style="top: 4px"></div> |
+ <div id="target1" class="squashed visible" style="top: 54px"></div> |
+ </div> |
+ |
+ <div class="set" style="top: 116px"> |
+ <div class="box"></div> |
+ <div id="target2" class="squashed visible" style="top: 4px"></div> |
+ <div class="squashed hidden" style="top: 54px"></div> |
+ </div> |
+</body> |
+</html> |