| Index: LayoutTests/fast/dynamic/focus-clear-resolver-crash.html
|
| diff --git a/LayoutTests/fast/dynamic/focus-clear-resolver-crash.html b/LayoutTests/fast/dynamic/focus-clear-resolver-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..af176d356569c9d85b858d2b880ae58643928718
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dynamic/focus-clear-resolver-crash.html
|
| @@ -0,0 +1,12 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +div { color: pink }
|
| +:focus { outline: none }
|
| +:focus #inner { color: green }
|
| +</style>
|
| +<div id="focused" tabIndex="1" onfocus="document.styleSheets[0].deleteRule(0);">
|
| + <span id="inner">This text should be green - no crash.</span>
|
| +</div>
|
| +<script>
|
| +document.getElementById("focused").focus();
|
| +</script>
|
|
|