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

Unified Diff: third_party/WebKit/LayoutTests/editing/style/smoosh-styles-003.html

Issue 2294193002: Convert editing/style/smoosh-styles-00[13].html to use w3c test harness (Closed)
Patch Set: 2016-09-02T14:10:21 Created 4 years, 3 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/smoosh-styles-003.html
diff --git a/third_party/WebKit/LayoutTests/editing/style/smoosh-styles-003.html b/third_party/WebKit/LayoutTests/editing/style/smoosh-styles-003.html
deleted file mode 100644
index 7ac6c90b6ccfc95000b2f98f0abb2f597a5fc12e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/style/smoosh-styles-003.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<html>
-<head>
-
-<style>
-.editing {
- border: 2px solid red;
- font-size: 24px;
-}
-.explanation {
- border: 2px solid blue;
- padding: 12px;
- font-size: 24px;
- margin-bottom: 24px;
-}
-.scenario { margin-bottom: 16px;}
-.scenario:first-line { font-weight: bold; margin-bottom: 16px;}
-.expected-results:first-line { font-weight: bold }
-</style>
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-
-<script>
-
-function editingTest() {
- extendSelectionForwardByLineCommand();
- cutCommand();
- pasteCommand();
-}
-
-</script>
-
-<title>Editing Test</title>
-</head>
-<body>
-
-<div class="explanation">
-<div class="scenario">
-Tests:
-<br>
-Pasting styles we should not remove during the "smoosh styles" process. This tests the fix for
-<a href="rdar://problem/3972665">&lt;rdar://problem/3972665&gt;</a> 8A360: HTML message partially truncated on left hand side, text-indent from Script Editor
-</div>
-<div class="expected-results">
-Expected Results:
-<br>
-Should see this content in the red box below: foo. Note that there should be no visible indent.
-<br>
-This demonstrates <a href="http://bugs.webkit.org/show_bug.cgi?id=8726">a bug</a>, the caret is one pixel off.
-</div>
-</div>
-
-<div contenteditable id="root" spellcheck="false" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
-<div id="test" class="editing">
-<div style="margin-left: 40px; text-indent: -40px">
-foo
-</div>
-</div>
-
-<script>
-runEditingTest();
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698