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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/crossfade-client-not-removed-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 <html>
3 <body id=tCF1>
4 A
5 <style>
6 .class1 {
7 background-image: -webkit-cross-fade(url(#does-not-exist), url(http://-42949 67295), 157%);
8 }
9 .class2:first-of-type {
10 -webkit-animation-direction: alternate;
11 }
12 </style>
13 <script>
14 if (window.testRunner)
15 testRunner.dumpAsText();
16
17 var docElement = document.body;
18 docElement.contentEditable = "true";
19
20 function crash() {
21 test1 = document.createElementNS("http://www.w3.org/1999/xhtml", "thead");
22 docElement.appendChild(test1);
23 test2 = document.createElementNS("http://www.w3.org/1999/xhtml", "intent");
24 test2.setAttribute("class", "class2");
25 docElement.appendChild(test2);
26 test1.setAttribute("class", "class1");
27 window.getSelection().selectAllChildren(tCF1);
28 document.execCommand("hilitecolor", false, "#FF0000");
29 document.execCommand("InsertText", false, "PASS. WebKit didn't crash.");
30 }
31
32 document.addEventListener("DOMContentLoaded", crash, false);
33 </script>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698