OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 | 7 |
8 <p>This test checks that content-editable is not propagated from shadow host to
a shadow subtree.</p> | 8 <p>This test checks that content-editable is not propagated from shadow host to
a shadow subtree.</p> |
9 | 9 |
10 <p>This p is required to produce the issue.</p> | 10 <p>This p is required to produce the issue.</p> |
11 <div contenteditable> | 11 <div contenteditable> |
12 <div>This div and parent div are required to produce the issue.</div> | 12 <div>This div and parent div are required to produce the issue.</div> |
13 <div id="host1" contenteditable>shadow host 1</div> | 13 <div id="host1" contenteditable>shadow host 1</div> |
14 </div> | 14 </div> |
(...skipping 24 matching lines...) Expand all Loading... |
39 | 39 |
40 var nodeInShadowRoot1 = prepareNodeInShadowRoot(document.getElementById('host1')
); | 40 var nodeInShadowRoot1 = prepareNodeInShadowRoot(document.getElementById('host1')
); |
41 var userModifyPropertyName = '-webkit-user-modify'; | 41 var userModifyPropertyName = '-webkit-user-modify'; |
42 shouldBeEqualToString('computedStyle(nodeInShadowRoot1, userModifyPropertyName)'
, 'read-only'); | 42 shouldBeEqualToString('computedStyle(nodeInShadowRoot1, userModifyPropertyName)'
, 'read-only'); |
43 | 43 |
44 var successfullyParsed = true; | 44 var successfullyParsed = true; |
45 </script> | 45 </script> |
46 | 46 |
47 </body> | 47 </body> |
48 </html> | 48 </html> |
OLD | NEW |