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

Side by Side Diff: LayoutTests/fast/css/get-matched-css-rules-set-selector-text.html

Issue 205523003: Remove beforeload events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove more tests Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 html, img { border: 5px solid salmon; }
4 </style>
5 <script>
6 function eventhandler() {
7 window.getMatchedCSSRules(document.documentElement)[0].selectorText = 'div';
8 document.documentElement.offsetHeight; // Crash under ASAN was here in updat eStyleIfNeeded
9 }
10 </script>
11 <img>
12 <iframe onbeforeload="eventhandler()"></iframe>
13 <div>This div should be the only element with a 5px border.</div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698