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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Range.html

Issue 2446483002: Import wpt@c5a14f553cba5f197743b9af605a84eddd8692a2 (Closed)
Patch Set: 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Custom Elements: CEReactions on Range interface</title> 4 <title>Custom Elements: CEReactions on Range interface</title>
5 <meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org"> 5 <meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org">
6 <meta name="assert" content="deleteContents, extractContents, cloneContents, ins ertNode, and surroundContents of Range interface must have CEReactions"> 6 <meta name="assert" content="deleteContents, extractContents, cloneContents, ins ertNode, and surroundContents of Range interface must have CEReactions">
7 <meta name="help" content="https://dom.spec.whatwg.org/#node"> 7 <meta name="help" content="https://dom.spec.whatwg.org/#node">
8 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script> 9 <script src="/resources/testharnessreport.js"></script>
10 <script src="../resources/custom-elements-helpers.js"></script> 10 <script src="../resources/custom-elements-helpers.js"></script>
(...skipping 24 matching lines...) Expand all
35 testNodeConnector(function (container, customElement) { 35 testNodeConnector(function (container, customElement) {
36 var range = document.createRange(); 36 var range = document.createRange();
37 range.selectNodeContents(container); 37 range.selectNodeContents(container);
38 range.insertNode(customElement); 38 range.insertNode(customElement);
39 }, 'insertNode on Range'); 39 }, 'insertNode on Range');
40 40
41 testNodeConnector(function (container, customElement) { 41 testNodeConnector(function (container, customElement) {
42 var range = document.createRange(); 42 var range = document.createRange();
43 range.selectNodeContents(container); 43 range.selectNodeContents(container);
44 range.surroundContents(customElement); 44 range.surroundContents(customElement);
45 }, 'insertNode on Range'); 45 }, 'surroundContents on Range');
46
47 testParsingMarkup(function (document, markup) {
48 var range = document.createRange();
49 return range.createContextualFragment(markup);
50 }, 'createContextualFragment on Range');
46 51
47 </script> 52 </script>
48 </body> 53 </body>
49 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698