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

Side by Side Diff: LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <div id="result"></div> 9 <div id="result"></div>
10 <script> 10 <script>
11 description('document.designMode inherits from parent documents.') 11 description('document.designMode inherits from parent documents.')
12 12
13 function runTest() 13 function runTest()
14 { 14 {
15 evalAndLog('document.designMode = "on"'); 15 evalAndLog('document.designMode = "on"');
16 16
17 subDocument = document.getElementById("subframe").contentDocument; 17 subDocument = document.getElementById("subframe").contentDocument;
18 shouldBe('subDocument.getElementById("div").contentEditable', '"inherit"'); 18 shouldBe('subDocument.getElementById("div").contentEditable', '"inherit"');
19 shouldBe('subDocument.getElementById("div").isContentEditable', 'true'); 19 shouldBe('subDocument.getElementById("div").isContentEditable', 'true');
20 20
21 document.getElementById("subframe").style.display= 'none'; 21 document.getElementById("subframe").style.display= 'none';
22 } 22 }
23 </script> 23 </script>
24 <script src="../../js/resources/js-test-post.js"></script>
25 <iframe id="subframe" onload="runTest()" src="data:text/html,<div id='div'></div >"></iframe> 24 <iframe id="subframe" onload="runTest()" src="data:text/html,<div id='div'></div >"></iframe>
26 </body> 25 </body>
27 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698