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

Unified Diff: LayoutTests/scrollbars/viewport-scrollbar-corner-with-percent-padding-crash.html

Issue 138903031: Don't let RenderScrollbarPart have padding. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review Created 6 years, 10 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/viewport-scrollbar-corner-with-percent-padding-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/scrollbars/viewport-scrollbar-corner-with-percent-padding-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698