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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/html/text-level-semantics/mark-element.html
diff --git a/third_party/WebKit/LayoutTests/html/text-level-semantics/mark-element.html b/third_party/WebKit/LayoutTests/html/text-level-semantics/mark-element.html
deleted file mode 100644
index f0bd2346db626bf711b4025e419f70654d5df410..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/html/text-level-semantics/mark-element.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-description('Various tests for the mark element.');
-
-var testParent = document.createElement('div');
-document.body.appendChild(testParent);
-
-debug('&lt;p> closes &lt;mark>:');
-testParent.innerHTML = '<mark>Test that <p id="paragraph1">a p element</p> closes &lt;mark>.</p>';
-var paragraph1 = document.getElementById('paragraph1');
-shouldBeFalse('paragraph1.parentNode.nodeName == "mark"');
-
-debug('&lt;b> does not close &lt;mark>:');
-testParent.innerHTML = '<mark>Test that <b id="b1">a b element</b> does not close a mark element.</mark>';
-var b1 = document.getElementById('b1');
-shouldBe('b1.parentNode.nodeName', '"MARK"');
-
-debug('Residual style:');
-testParent.innerHTML = '<b><mark id="mark2">This text should be bold.</mark> <span id="span1">This is also bold.</span></b>';
-function getWeight(id) {
- return document.defaultView.getComputedStyle(document.getElementById(id), null).getPropertyValue('font-weight');
-}
-shouldBe('getWeight("mark2")', '"bold"');
-shouldBe('getWeight("span1")', '"bold"');
-document.body.removeChild(testParent);
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698