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

Side by Side Diff: LayoutTests/fast/dom/Element/class-list-move-between-document-with-different-quirks-mode.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 <script src="../../js/resources/js-test-pre.js"></script> 2 <script src="../../js/resources/js-test-pre.js"></script>
3 <iframe></iframe> 3 <iframe></iframe>
4 <script> 4 <script>
5 5
6 description('Tests that moving an element between documents with different quirk s mode works'); 6 description('Tests that moving an element between documents with different quirk s mode works');
7 7
8 var htmlElement = document.createElement('div'); 8 var htmlElement = document.createElement('div');
9 htmlElement.className = "A a B"; 9 htmlElement.className = "A a B";
10 10
(...skipping 16 matching lines...) Expand all
27 shouldBeFalse('htmlElement.classList.contains("b")'); 27 shouldBeFalse('htmlElement.classList.contains("b")');
28 28
29 debug('Moved back to standards mode'); 29 debug('Moved back to standards mode');
30 document.body.appendChild(htmlElement); 30 document.body.appendChild(htmlElement);
31 shouldBeTrue('htmlElement.classList.contains("A")'); 31 shouldBeTrue('htmlElement.classList.contains("A")');
32 shouldBeTrue('htmlElement.classList.contains("a")'); 32 shouldBeTrue('htmlElement.classList.contains("a")');
33 shouldBeTrue('htmlElement.classList.contains("B")'); 33 shouldBeTrue('htmlElement.classList.contains("B")');
34 shouldBeFalse('htmlElement.classList.contains("b")'); 34 shouldBeFalse('htmlElement.classList.contains("b")');
35 35
36 </script> 36 </script>
37 <script src="../../js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Element/class-list.html ('k') | LayoutTests/fast/dom/Element/class-list-update.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698