Index: LayoutTests/fast/events/scale-and-scroll-iframe-body.html |
diff --git a/LayoutTests/fast/events/scale-and-scroll-iframe-body.html b/LayoutTests/fast/events/scale-and-scroll-iframe-body.html |
index 32d728c0ed51fb685b8cb491032f450dbd5024c1..6ac7fa7f8440da6379246be613b2bb84d24c9e58 100644 |
--- a/LayoutTests/fast/events/scale-and-scroll-iframe-body.html |
+++ b/LayoutTests/fast/events/scale-and-scroll-iframe-body.html |
@@ -1,11 +1,5 @@ |
<html> |
<head> |
- <style> |
- ::-webkit-scrollbar { |
- width: 0px; |
- height: 0px; |
- } |
- </style> |
<script> |
window.enablePixelTesting = true; |
@@ -43,6 +37,7 @@ |
<script> |
var frame = document.getElementById('frame'); |
var doc = frame.contentDocument.open(); |
+ doc.write("<style>::-webkit-scrollbar {width: 0px;height: 0px;}</style>"); |
doc.write("<div style='left:0; top:0; width:100px; height:100px; position:absolute; background:yellow;'></div>"); |
doc.write("<div style='left:100px; top:0; width:100px; height:100px; position:absolute; background:green;'></div>"); |
doc.write("<div style='left:200px; top:0; width:100px; height:100px; position:absolute; background:blue;'></div>"); |