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> |