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

Unified Diff: LayoutTests/scrollbars/custom-scrollbar-appearance-property.html

Issue 173433002: Do not crash if custom scrollbars have -webkit-appearane:searchfield-foo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/scrollbars/custom-scrollbar-appearance-property.html
diff --git a/LayoutTests/scrollbars/custom-scrollbar-appearance-property.html b/LayoutTests/scrollbars/custom-scrollbar-appearance-property.html
new file mode 100644
index 0000000000000000000000000000000000000000..cd45ce04372b5d00a85c3f8da5924c66e32ab5d1
--- /dev/null
+++ b/LayoutTests/scrollbars/custom-scrollbar-appearance-property.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+::-webkit-scrollbar {
+ width: 16px;
+ height: 16px;
+ -webkit-appearance: searchfield-results-decoration;
+}
+
+::-webkit-scrollbar-track {
+ background-color: #E3E3E3;
+ -webkit-appearance: searchfield-cancel-button;
+}
+
+::-webkit-scrollbar-thumb {
+ background: black;
+}
+
+.scroll-container {
+ overflow: scroll;
+ width: 50px;
+ height: 50px;
+}
+
+.overflowing {
+ width: 200px;
+ height: 200px;
+}
+</style>
+</head>
+<body>
+PASS if not crashed.
+<div class="scroll-container"><div class="overflowing"></div></div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698