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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/CharacterData-remove.html

Issue 1529523002: Import dom/ from web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak W3CImportExpectations Created 5 years 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 <meta charset=utf-8>
3 <title>CharacterData.remove</title>
4 <link rel=help href="https://dom.spec.whatwg.org/#dom-childnode-remove">
5 <script src="../../../../resources/testharness.js"></script>
6 <script src="../../../../resources/testharnessreport.js"></script>
7 <script src="ChildNode-remove.js"></script>
8 <div id=log></div>
9 <script>
10 var text, text_parent,
11 comment, comment_parent,
12 pi, pi_parent;
13 setup(function() {
14 text = document.createTextNode("text");
15 text_parent = document.createElement("div");
16 comment = document.createComment("comment");
17 comment_parent = document.createElement("div");
18 pi = document.createProcessingInstruction("foo", "bar");
19 pi_parent = document.createElement("div");
20 });
21 testRemove(text, text_parent, "text");
22 testRemove(comment, comment_parent, "comment");
23 testRemove(pi, pi_parent, "PI");
24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698