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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/scale-and-scroll-iframe-window.html

Issue 1340643004: Stop propagating customscrollbar styles across iframe boundaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 4 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-not-inherited-by-iframe.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/events/scale-and-scroll-iframe-window.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/scale-and-scroll-iframe-window.html b/third_party/WebKit/LayoutTests/fast/events/scale-and-scroll-iframe-window.html
index fe64a206896a6fd6b4cddb7ba0952b2ea4a88f44..3d10cc2f746ccd7b17c8946216ab20f4284eb85c 100644
--- a/third_party/WebKit/LayoutTests/fast/events/scale-and-scroll-iframe-window.html
+++ b/third_party/WebKit/LayoutTests/fast/events/scale-and-scroll-iframe-window.html
@@ -1,11 +1,5 @@
<html>
<head>
- <style>
- ::-webkit-scrollbar {
- width: 0px;
- height: 0px;
- }
- </style>
<script>
window.enablePixelTesting = true;
@@ -42,6 +36,7 @@
<script>
var frame = document.getElementById('frame');
var doc = frame.contentDocument.open();
+ doc.write("<html><style>::-webkit-scrollbar {width: 0px;height: 0px;}</style></html>");
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 | third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-not-inherited-by-iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698