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> |