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

Side by Side Diff: LayoutTests/fast/dom/shadow/user-modify-inheritance.html

Issue 1169613002: Remove unnecessary testRunner.dumpAsText in LayoutTests/fast/dom/shadow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « LayoutTests/fast/dom/shadow/tabstop-property.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script src="resources/shadow-dom.js"></script> 5 <script src="resources/shadow-dom.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p id="description"></p> 8 <p id="description"></p>
9 <div id="contenteditable-host1" contenteditable></div> 9 <div id="contenteditable-host1" contenteditable></div>
10 <div id="contenteditable-host2" contenteditable></div> 10 <div id="contenteditable-host2" contenteditable></div>
11 <div id="contenteditable-host3" contenteditable></div> 11 <div id="contenteditable-host3" contenteditable></div>
12 <div id="non-contenteditable-host1"></div> 12 <div id="non-contenteditable-host1"></div>
13 <div id="non-contenteditable-host2"></div> 13 <div id="non-contenteditable-host2"></div>
14 <div id="non-contenteditable-host3"></div> 14 <div id="non-contenteditable-host3"></div>
15 <div id="sandbox"></div> 15 <div id="sandbox"></div>
16 <div id="sandbox2"></div> 16 <div id="sandbox2"></div>
17 <pre id="console"></pre> 17 <pre id="console"></pre>
18 <script> 18 <script>
19 description("Tests to ensure that a '-webkit-user-modify' CSS property is not in herited across shadow boundaries."); 19 description("Tests to ensure that a '-webkit-user-modify' CSS property is not in herited across shadow boundaries.");
20 if (window.testRunner)
21 testRunner.dumpAsText();
22 20
23 function computedStyle(element) { 21 function computedStyle(element) {
24 return window.getComputedStyle(element).webkitUserModify; 22 return window.getComputedStyle(element).webkitUserModify;
25 } 23 }
26 24
27 function getUserModifyProperty(id) { 25 function getUserModifyProperty(id) {
28 return computedStyle(document.getElementById(id)); 26 return computedStyle(document.getElementById(id));
29 } 27 }
30 28
31 function prepareNodeInShadowRoot(host, contentEditableAttributeValueForNode) { 29 function prepareNodeInShadowRoot(host, contentEditableAttributeValueForNode) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 createDOM('content', {'select': '#child -d'}))), 63 createDOM('content', {'select': '#child -d'}))),
66 createDOM('div', {'id': 'child-c'}), 64 createDOM('div', {'id': 'child-c'}),
67 createDOM('div', {'id': 'child-d'}))); 65 createDOM('div', {'id': 'child-d'})));
68 66
69 shouldBeEqualToString('getUserModifyProperty("child-c")', 'read-only'); 67 shouldBeEqualToString('getUserModifyProperty("child-c")', 'read-only');
70 shouldBeEqualToString('getUserModifyProperty("child-d")', 'read-only'); 68 shouldBeEqualToString('getUserModifyProperty("child-d")', 'read-only');
71 69
72 </script> 70 </script>
73 </body> 71 </body>
74 </html> 72 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/tabstop-property.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698