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

Unified Diff: third_party/WebKit/LayoutTests/editing/style/relative-font-size-change-002.html

Issue 2250943002: Convert editing/style/relative-font-size-change-00[1-4].html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-08-17T18:14:32 Created 4 years, 4 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/editing/style/relative-font-size-change-002.html
diff --git a/third_party/WebKit/LayoutTests/editing/style/relative-font-size-change-002.html b/third_party/WebKit/LayoutTests/editing/style/relative-font-size-change-002.html
deleted file mode 100644
index 7e6c06e03c46fa55acf0c384492b04b0cd9ad5c9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/style/relative-font-size-change-002.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<html>
-<head>
-
-<style>
-.editing {
- border: 2px solid red;
- padding: 12px;
- font-size: 24px;
-}
-.explanation {
- border: 2px solid blue;
- padding: 12px;
- font-size: 24px;
- margin-bottom: 24px;
-}
-</style>
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-
-<script>
-if (window.internals)
- internals.settings.setEditingBehavior('mac');
-
-function editingTest() {
- extendSelectionForwardByWordCommand();
- extendSelectionForwardByLineCommand();
- extendSelectionForwardByWordCommand();
- for (i = 0; i < 6; i++)
- fontSizeDeltaCommand("+1px");
-}
-
-</script>
-
-<title>Editing Test</title>
-</head>
-<body contenteditable="true">
-<div class="explanation">
-Size check should say: 30px. All text on the first line, and the first two words of the second line, should appear to be 30px.
-</div>
-
-<div style="font-size: 24px; margin-bottom: 16px;">Size check: <span id="check"></span></div>
-
-<div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
-<div id="test" class="editing">There is a tide
-<div id="foo" class="editing">
-In the affairs of men
-</div>
-Which taken at the flood
-</div>
-</div>
-
-<script>
-runEditingTest();
-test = document.getElementById("test").firstChild;
-check = document.getElementById("check");
-size = document.defaultView.getComputedStyle(test, "").getPropertyValue("font-size");
-check.innerHTML = size;
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698