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

Unified Diff: LayoutTests/scrollbars/custom-scrollbars-paint-outside-iframe-expected.html

Issue 220243010: Clip Scrollbar painting like contents painting in ScrollView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/scrollbars/custom-scrollbars-paint-outside-iframe-expected.html
diff --git a/LayoutTests/scrollbars/custom-scrollbars-paint-outside-iframe-expected.html b/LayoutTests/scrollbars/custom-scrollbars-paint-outside-iframe-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..69399e2ae380391547bc5d0a0324ae738ee86b08
--- /dev/null
+++ b/LayoutTests/scrollbars/custom-scrollbars-paint-outside-iframe-expected.html
@@ -0,0 +1,11 @@
+
+<!DOCTYPE html>
+<body style='margin: 0px'>
+<div style='background-color: green; width: 100px; height: 100px'></div>
+<div>This tests ensures that themed scrollbars are clipped to their iframe. You should see a green box above.</div>
+<iframe style='position: absolute; top: 100px; left: 100px;' width="1" height="1" srcdoc='
+<html><head><style>
+html,body { width:200px; height:100px;}
+::-webkit-scrollbar { height: 1px; width: 1px; }
+::-webkit-scrollbar-corner { background-color: red; }
+</style>'>
« no previous file with comments | « LayoutTests/scrollbars/custom-scrollbars-paint-outside-iframe.html ('k') | Source/platform/scroll/ScrollView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698