Chromium Code Reviews| 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..a36889cec42f49fc6f98951427c70418ac8b38c2 |
| --- /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 src="resources/empty.html"></iframe> |
|
Xianzhu
2015/08/17 16:17:05
Nit: Would srcdoc="" work (so that we can avoid an
skobes
2015/08/17 20:39:27
Done.
|
| +<script> |
| +if (window.testRunner) { |
| + testRunner.dumpAsText(); |
| +} |
| +</script> |