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

Side by Side Diff: LayoutTests/fast/dom/Element/class-name.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 className works on non HTMLElements'); 4 description('Tests that className 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 shouldBeEqualToString('htmlElement.className', 'foo'); 8 shouldBeEqualToString('htmlElement.className', 'foo');
9 9
10 var xmlElement = document.createElementNS('http://www.example.com', 'xml'); 10 var xmlElement = document.createElementNS('http://www.example.com', 'xml');
11 xmlElement.setAttribute('class', 'foo'); 11 xmlElement.setAttribute('class', 'foo');
12 shouldBeEqualToString('xmlElement.className', 'foo'); 12 shouldBeEqualToString('xmlElement.className', 'foo');
13 13
14 </script> 14 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Element/class-list-update.html ('k') | LayoutTests/fast/dom/Element/client-rect-list-argument.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698