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

Unified Diff: third_party/WebKit/LayoutTests/platform/mac/external/wpt/editing/run/strikethrough-expected.txt

Issue 2800723002: Ensure we never remove the style attribute when syncing it from CSSOM. (Closed)
Patch Set: Nits 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/platform/mac/external/wpt/editing/run/strikethrough-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/mac/external/wpt/editing/run/strikethrough-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/external/wpt/editing/run/strikethrough-expected.txt
index a985bc1e90b853c4d9df557a0d472589a26c9ce5..e2cce5bb9228fba890c09468e2469c4125352752 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/external/wpt/editing/run/strikethrough-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/external/wpt/editing/run/strikethrough-expected.txt
@@ -720,7 +720,7 @@ FAIL [["stylewithcss","false"],["strikethrough",""]] "<u>foo[b<i>ar]ba</i>z</u>"
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" checks for modifications to non-editable content
-FAIL [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p style=\"text-decoration:underline\">foo<span style=\"text-decoration:line-through\">bar</span>baz</p>" but got "<p><span style=\"text-decoration-line:underline\">foo</span><span style=\"text-decoration-line:underline line-through\">bar</span><span style=\"text-decoration-line:underline\">baz</span></p>"
+FAIL [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p style=\"text-decoration:underline\">foo<span style=\"text-decoration:line-through\">bar</span>baz</p>" but got "<p style=\"\"><span style=\"text-decoration-line:underline\">foo</span><span style=\"text-decoration-line:underline line-through\">bar</span><span style=\"text-decoration-line:underline\">baz</span></p>"
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" queryCommandValue("stylewithcss") before
@@ -736,7 +736,7 @@ FAIL [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration:
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" checks for modifications to non-editable content
-FAIL [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p style=\"text-decoration:underline\">foo<s>bar</s>baz</p>" but got "<p><span style=\"text-decoration-line:underline\">foo</span><u><strike>bar</strike>baz</u></p>"
+FAIL [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p style=\"text-decoration:underline\">foo<s>bar</s>baz</p>" but got "<p style=\"\"><span style=\"text-decoration-line:underline\">foo</span><u><strike>bar</strike>baz</u></p>"
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: underline\">foo[bar]baz</p>" queryCommandValue("stylewithcss") before
@@ -912,7 +912,7 @@ FAIL [["stylewithcss","false"],["strikethrough",""]] "<s>foo[b<span style=\"font
PASS [["stylewithcss","true"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" checks for modifications to non-editable content
-FAIL [["stylewithcss","true"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span style=\"text-decoration:line-through\">foo</span>b<i>ar<span style=\"text-decoration:line-through\">ba</span></i><span style=\"text-decoration:line-through\">z</span>" but got "<s>foo</s>b<i>ar<span style=\"text-decoration-line:line-through\">ba</span></i><span style=\"text-decoration-line:line-through\">z</span>"
+FAIL [["stylewithcss","true"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span style=\"text-decoration:line-through\">foo</span>b<i>ar<span style=\"text-decoration:line-through\">ba</span></i><span style=\"text-decoration:line-through\">z</span>" but got "<s>foo</s>b<i style=\"\">ar<span style=\"text-decoration-line:line-through\">ba</span></i><span style=\"text-decoration-line:line-through\">z</span>"
PASS [["stylewithcss","true"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" queryCommandValue("stylewithcss") before
@@ -928,7 +928,7 @@ FAIL [["stylewithcss","true"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>"
PASS [["stylewithcss","false"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" checks for modifications to non-editable content
-FAIL [["stylewithcss","false"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<s>foo</s>b<i>ar<s>ba</s></i><s>z</s>" but got "<s>foo</s>b<i>ar<strike>ba</strike></i><strike>z</strike>"
+FAIL [["stylewithcss","false"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<s>foo</s>b<i>ar<s>ba</s></i><s>z</s>" but got "<s>foo</s>b<i style=\"\">ar<strike>ba</strike></i><strike>z</strike>"
PASS [["stylewithcss","false"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<s>foo[b<i>ar]ba</i>z</s>" queryCommandValue("stylewithcss") before
@@ -1104,7 +1104,7 @@ FAIL [["stylewithcss","false"],["strikethrough",""]] "<strike>foo[b<span style=\
PASS [["stylewithcss","true"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" checks for modifications to non-editable content
-FAIL [["stylewithcss","true"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span style=\"text-decoration:line-through\">foo</span>b<i>ar<span style=\"text-decoration:line-through\">ba</span></i><span style=\"text-decoration:line-through\">z</span>" but got "<strike>foo</strike>b<i>ar<span style=\"text-decoration-line:line-through\">ba</span></i><span style=\"text-decoration-line:line-through\">z</span>"
+FAIL [["stylewithcss","true"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span style=\"text-decoration:line-through\">foo</span>b<i>ar<span style=\"text-decoration:line-through\">ba</span></i><span style=\"text-decoration:line-through\">z</span>" but got "<strike>foo</strike>b<i style=\"\">ar<span style=\"text-decoration-line:line-through\">ba</span></i><span style=\"text-decoration-line:line-through\">z</span>"
PASS [["stylewithcss","true"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" queryCommandValue("stylewithcss") before
@@ -1120,7 +1120,7 @@ FAIL [["stylewithcss","true"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z<
PASS [["stylewithcss","false"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" checks for modifications to non-editable content
-FAIL [["stylewithcss","false"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<s>foo</s>b<i>ar<s>ba</s></i><s>z</s>" but got "<strike>foo</strike>b<i>ar<strike>ba</strike></i><strike>z</strike>"
+FAIL [["stylewithcss","false"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<s>foo</s>b<i>ar<s>ba</s></i><s>z</s>" but got "<strike>foo</strike>b<i style=\"\">ar<strike>ba</strike></i><strike>z</strike>"
PASS [["stylewithcss","false"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<strike>foo[b<i>ar]ba</i>z</strike>" queryCommandValue("stylewithcss") before
@@ -1679,7 +1679,7 @@ FAIL [["stylewithcss","false"],["strikethrough",""]] "foo<u style=\"text-decorat
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" checks for modifications to non-editable content
-FAIL [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p><span style=\"text-decoration:line-through\">foo</span>bar<span style=\"text-decoration:line-through\">baz</span></p>" but got "<p><span style=\"text-decoration-line:line-through\">foo</span>bar<span style=\"text-decoration-line:line-through\">baz</span></p>"
+FAIL [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p><span style=\"text-decoration:line-through\">foo</span>bar<span style=\"text-decoration:line-through\">baz</span></p>" but got "<p style=\"\"><span style=\"text-decoration-line:line-through\">foo</span>bar<span style=\"text-decoration-line:line-through\">baz</span></p>"
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" queryCommandValue("stylewithcss") before
@@ -1695,7 +1695,7 @@ FAIL [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration:
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" checks for modifications to non-editable content
-FAIL [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p><s>foo</s>bar<s>baz</s></p>" but got "<p><span style=\"text-decoration-line:line-through\">foo</span>bar<strike>baz</strike></p>"
+FAIL [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p><s>foo</s>bar<s>baz</s></p>" but got "<p style=\"\"><span style=\"text-decoration-line:line-through\">foo</span>bar<strike>baz</strike></p>"
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: line-through\">foo[bar]baz</p>" queryCommandValue("stylewithcss") before
@@ -1711,7 +1711,7 @@ FAIL [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" checks for modifications to non-editable content
-FAIL [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p style=\"text-decoration:overline\">foo<span style=\"text-decoration:line-through\">bar</span>baz</p>" but got "<p><span style=\"text-decoration-line:overline\">foo</span><span style=\"text-decoration-line:overline line-through\">bar</span><span style=\"text-decoration-line:overline\">baz</span></p>"
+FAIL [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p style=\"text-decoration:overline\">foo<span style=\"text-decoration:line-through\">bar</span>baz</p>" but got "<p style=\"\"><span style=\"text-decoration-line:overline\">foo</span><span style=\"text-decoration-line:overline line-through\">bar</span><span style=\"text-decoration-line:overline\">baz</span></p>"
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" queryCommandValue("stylewithcss") before
@@ -1727,7 +1727,7 @@ FAIL [["stylewithcss","true"],["strikethrough",""]] "<p style=\"text-decoration:
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>": execCommand("strikethrough", false, "") return value
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" checks for modifications to non-editable content
-FAIL [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p style=\"text-decoration:overline\">foo<s>bar</s>baz</p>" but got "<p><span style=\"text-decoration-line:overline\">foo<strike>bar</strike>baz</span></p>"
+FAIL [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p style=\"text-decoration:overline\">foo<s>bar</s>baz</p>" but got "<p style=\"\"><span style=\"text-decoration-line:overline\">foo<strike>bar</strike>baz</span></p>"
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["strikethrough",""]] "<p style=\"text-decoration: overline\">foo[bar]baz</p>" queryCommandValue("stylewithcss") before

Powered by Google App Engine
This is Rietveld 408576698