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

Side by Side Diff: LayoutTests/fast/dom/HTMLElement/attr-true-string.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 <div id="div" contentEditable="true"></div> 10 <div id="div" contentEditable="true"></div>
11 <script> 11 <script>
12 description('When contentEditable attribute is "true" string, element.contentEdi table returns "true" and the element is editable.') 12 description('When contentEditable attribute is "true" string, element.contentEdi table returns "true" and the element is editable.')
13 13
14 shouldBe('document.getElementById("div").getAttribute("contentEditable")','"true "'); 14 shouldBe('document.getElementById("div").getAttribute("contentEditable")','"true "');
15 shouldBe('document.getElementById("div").contentEditable', '"true"'); 15 shouldBe('document.getElementById("div").contentEditable', '"true"');
16 shouldBe('document.getElementById("div").isContentEditable', 'true'); 16 shouldBe('document.getElementById("div").isContentEditable', 'true');
17 shouldBe('window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify ")', '"read-write"'); 17 shouldBe('window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify ")', '"read-write"');
18 18
19 document.getElementById("div").style.display= 'none'; 19 document.getElementById("div").style.display= 'none';
20 </script> 20 </script>
21 <script src="../../js/resources/js-test-post.js"></script>
22 </body> 21 </body>
23 </html> 22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/HTMLElement/attr-missing-parent-true.html ('k') | LayoutTests/fast/dom/HTMLElement/class-list.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698