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

Side by Side Diff: LayoutTests/fast/dom/append-multiple-document-elements.html

Issue 1237623006: Post-Mutation Event checks must re-check document constraints. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline. Created 5 years, 5 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 If this does not assert in a debug build, the test passed.
3 <div id="f1">
4 <div id="f2"></div>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 var doc = document.implementation.createDocument("http://www.w3.org/2000/svg",
10 null);
11 f1.addEventListener("DOMNodeRemovedFromDocument", function () {
12 doc.appendChild(f2);
13 });
14 try {
15 doc.appendChild(f1);
16 } catch (e) {
17 console.log(e.message);
18 }
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698