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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/image-load-event-crash.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <style>
4 img {
5 background-image: url("data:image/svg+xml,<svg></svg>");
6 }
7 </style>
8 <script>
9 function changeStyleAndLayout() {
10 document.body.style.height = '100px';
11 var forceLayout = document.body.offsetWidth;
12 if (window.testRunner)
13 testRunner.dumpAsText();
14 }
15 </script>
16 </head>
17 <body>
18 Test for crbug.com/248843: This test passes if it does not crash.<br/>
19 <img onload="changeStyleAndLayout()" src="data:image/png;base64,iVBORw0KGgoA AAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL 0Y4OHwAAAABJRU5ErkJggg==">
20 </body>
21 </html>
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698