Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: LayoutTests/fast/events/scale-and-scroll-iframe-body.html

Issue 1340643004: Stop propagating customscrollbar styles across iframe boundaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixing test cases Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>");
« no previous file with comments | « no previous file | LayoutTests/fast/events/scale-and-scroll-iframe-window.html » ('j') | Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698