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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/huge-mac-input-clamped-width.html

Issue 1956583002: Clamp Mac theme painting to reasonable large bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Increase max dirty pixel size to 10K. Created 4 years, 7 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
Index: third_party/WebKit/LayoutTests/fast/forms/huge-mac-input-clamped-width.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/huge-mac-input-clamped-width.html b/third_party/WebKit/LayoutTests/fast/forms/huge-mac-input-clamped-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..86e491fca10e05b37deebadf2ea765862f95e127
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/forms/huge-mac-input-clamped-width.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<p>Test passes if the input element is truncated beyond 5000px on Mac.</p>
chrishtr 2016/05/09 21:42:20 10000px
wkorman 2016/05/09 22:14:24 Done.
+<form>
+ <input style="width: 10001px;">
+</form>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+runAfterLayoutAndPaint(function() {
+ window.scrollTo(10001, 0);
+}, true);
+</script>

Powered by Google App Engine
This is Rietveld 408576698