Index: LayoutTests/scrollbars/viewport-scrollbar-corner-with-percent-padding-crash.html |
diff --git a/LayoutTests/scrollbars/viewport-scrollbar-corner-with-percent-padding-crash.html b/LayoutTests/scrollbars/viewport-scrollbar-corner-with-percent-padding-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..05b6d6cdf38d6ed677c223c3b6bdbc4885df9e9a |
--- /dev/null |
+++ b/LayoutTests/scrollbars/viewport-scrollbar-corner-with-percent-padding-crash.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>Viewport scrollbar corner with percent padding and background image</title> |
+ <script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ </script> |
+ <style> |
+ html { overflow: scroll; } |
+ ::-webkit-scrollbar-corner { |
+ padding-right: 85%; |
+ background: bottom repeat-x scroll url(#tCF0) linen; |
+ } |
+ </style> |
+ </head> |
+ <body> |
+ <p>Viewport scrollbar corner with percent padding and background image</p> |
+ Test for <a href="http://code.google.com/p/chromium/issues/detail?id=341004">bug 341004</a>: |
+ This test passes if there is no crash when scrollbar's style changes. |
+ </body> |
+</html> |