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

Side by Side Diff: LayoutTests/fast/dom/Element/class-list.html

Issue 58533003: Move fast/js/resources files to resources. (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="../../../resources/js-test.js"></script>
3 <script> 3 <script>
4 description('Tests that classList works on non HTMLElements'); 4 description('Tests that classList works on non HTMLElements');
5 5
6 var htmlElement = document.createElement('div'); 6 var htmlElement = document.createElement('div');
7 htmlElement.setAttribute('class', 'foo'); 7 htmlElement.setAttribute('class', 'foo');
8 shouldBeTrue('htmlElement.classList instanceof DOMTokenList'); 8 shouldBeTrue('htmlElement.classList instanceof DOMTokenList');
9 9
10 var svgElement = document.createElementNS('http://www.w3.org/2000/svg', 'svg'); 10 var svgElement = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
11 svgElement.setAttribute('class', 'foo'); 11 svgElement.setAttribute('class', 'foo');
12 shouldBeTrue('svgElement.classList instanceof DOMTokenList'); 12 shouldBeTrue('svgElement.classList instanceof DOMTokenList');
13 13
14 14
15 var xmlElement = document.createElementNS('http://www.example.com', 'xml'); 15 var xmlElement = document.createElementNS('http://www.example.com', 'xml');
16 xmlElement.setAttribute('class', 'foo'); 16 xmlElement.setAttribute('class', 'foo');
17 shouldBeTrue('xmlElement.classList instanceof DOMTokenList'); 17 shouldBeTrue('xmlElement.classList instanceof DOMTokenList');
18 18
19 </script> 19 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Element/attrisid-extra01.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