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

Side by Side Diff: LayoutTests/fast/dynamic/focus-clear-resolver-crash.html

Issue 259213002: Ensure style resolver is created to avoid crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/focus-clear-resolver-crash-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 div { color: pink }
4 :focus { outline: none }
5 :focus #inner { color: green }
6 </style>
7 <div id="focused" tabIndex="1" onfocus="document.styleSheets[0].deleteRule(0);">
8 <span id="inner">This text should be green - no crash.</span>
9 </div>
10 <script>
11 document.getElementById("focused").focus();
12 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/focus-clear-resolver-crash-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698