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

Unified Diff: LayoutTests/scrollbars/custom-scrollbar-enable-changes-thickness-with-iframe.html

Issue 1296033002: Fix re-layout logic in LayoutScrollbar::updateScrollbarParts. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 | LayoutTests/scrollbars/custom-scrollbar-enable-changes-thickness-with-iframe-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/scrollbars/custom-scrollbar-enable-changes-thickness-with-iframe.html
diff --git a/LayoutTests/scrollbars/custom-scrollbar-enable-changes-thickness-with-iframe.html b/LayoutTests/scrollbars/custom-scrollbar-enable-changes-thickness-with-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..378d26f60f9eba1e9ffd146af3456df05440ca1b
--- /dev/null
+++ b/LayoutTests/scrollbars/custom-scrollbar-enable-changes-thickness-with-iframe.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+::-webkit-scrollbar { height: 15px; width: 15px; }
+::-webkit-scrollbar:disabled { display: none; }
+</style>
+
+This test verifies that layout runs correctly when custom scrollbar styles produce
+different thickness for the enabled and disabled states, and are inherited by an iframe.
+<br><br>
+The test passes if it does not crash.
+
+<iframe width=800 height=600 srcdoc=""></iframe>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+}
+</script>
« no previous file with comments | « no previous file | LayoutTests/scrollbars/custom-scrollbar-enable-changes-thickness-with-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698