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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/search/abspos-cancel-button-crash.html

Issue 2733593002: Text control elements should contain all (shadow DOM) children. (Closed)
Patch Set: Improve documentation. Created 3 years, 9 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/search/abspos-cancel-button-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/search/abspos-cancel-button-crash.html b/third_party/WebKit/LayoutTests/fast/forms/search/abspos-cancel-button-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..f92dc5f40360a16fed5c1b302d0d481d16511de3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/forms/search/abspos-cancel-button-crash.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<style>
+ #elm::-webkit-search-cancel-button { position: absolute; }
+</style>
+<input id="elm" type="search" value="How's Annie?">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script>
+test(() => {
+ elm.focus();
+}, "No crash or assertion failure.");
+</script>

Powered by Google App Engine
This is Rietveld 408576698