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

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: Integrate feedback. 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..4f5985ef1f0d1f7a1a458aed29851117d8a84407
--- /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 10000px on Mac.</p>
+<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