Index: LayoutTests/fast/block/positioning/relative-overflow-block.html |
diff --git a/LayoutTests/fast/block/positioning/relative-overflow-block.html b/LayoutTests/fast/block/positioning/relative-overflow-block.html |
index f895342e6209c16361f01781dc7e605bfecd0ac8..a1233eeae34f1053437ca381c082b3324818b109 100644 |
--- a/LayoutTests/fast/block/positioning/relative-overflow-block.html |
+++ b/LayoutTests/fast/block/positioning/relative-overflow-block.html |
@@ -1,7 +1,12 @@ |
<html> |
+<script> |
+if (window.internals) { |
+ window.internals.settings.setForceCompositingMode(true); |
+} |
+</script> |
<body> |
Document canvas should be big enough to fit both blue and red (relative positioned) rectangles (ie. have scrollbars if they don't fit to the view) |
<div style="width: 500px; height: 500px; position: absolute; border: 2px solid blue;"> |
<div style="width: 500px; height: 500px; left: 300px; top:300px; position: relative; border: 2px solid red;"> |
</div> |
-</div> |
+</div> |