summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shadow-dom/event-on-pseudo-element-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/shadow-dom/event-on-pseudo-element-crash.html')
-rw-r--r--testing/web-platform/tests/shadow-dom/event-on-pseudo-element-crash.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/shadow-dom/event-on-pseudo-element-crash.html b/testing/web-platform/tests/shadow-dom/event-on-pseudo-element-crash.html
new file mode 100644
index 0000000000..c03f51a64f
--- /dev/null
+++ b/testing/web-platform/tests/shadow-dom/event-on-pseudo-element-crash.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<link rel="author" href="mailto:masonf@chromium.org">
+<link rel="help" href="https://crbug.com/1180286">
+<meta name="assert" content="The renderer should not crash.">
+
+<span>This test passes if the renderer does not crash.</span>
+
+<div>
+ <option></option>
+</div>
+
+<style>
+ div {
+ direction: rtl;
+ zoom: 0.01;
+ }
+ option {
+ zoom: 5;
+ }
+ option::before {
+ display: table-caption;
+ overflow: scroll;
+ content: open-quote;
+ padding-right: 1px;
+ -webkit-column-width: 1px;
+ }
+</style>