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

Side by Side Diff: third_party/WebKit/LayoutTests/html/text_level_semantics/mark-element.html

Issue 2780363002: Rename subdirectory names in LayoutTests/html/. (Closed)
Patch Set: Created 3 years, 8 months 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
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Various tests for the mark element.'); 8 description('Various tests for the mark element.');
9 9
10 var testParent = document.createElement('div'); 10 var testParent = document.createElement('div');
(...skipping 13 matching lines...) Expand all
24 testParent.innerHTML = '<b><mark id="mark2">This text should be bold.</mark> <sp an id="span1">This is also bold.</span></b>'; 24 testParent.innerHTML = '<b><mark id="mark2">This text should be bold.</mark> <sp an id="span1">This is also bold.</span></b>';
25 function getWeight(id) { 25 function getWeight(id) {
26 return document.defaultView.getComputedStyle(document.getElementById(id), nu ll).getPropertyValue('font-weight'); 26 return document.defaultView.getComputedStyle(document.getElementById(id), nu ll).getPropertyValue('font-weight');
27 } 27 }
28 shouldBe('getWeight("mark2")', '"bold"'); 28 shouldBe('getWeight("mark2")', '"bold"');
29 shouldBe('getWeight("span1")', '"bold"'); 29 shouldBe('getWeight("span1")', '"bold"');
30 document.body.removeChild(testParent); 30 document.body.removeChild(testParent);
31 </script> 31 </script>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698