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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/editing/run/forecolor-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/external/wpt/editing/run/forecolor-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/editing/run/forecolor-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/editing/run/forecolor-expected.txt
index 6994c8a0f396145dd2e6a720e455dcbfd6fc3523..b082e87748c3fe7f68c390e7f0941356ffd7c7b3 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/editing/run/forecolor-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/editing/run/forecolor-expected.txt
@@ -1247,7 +1247,7 @@ PASS [["stylewithcss","true"],["forecolor","#0000FF"]] "<font color=blue>foo<fon
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<font color=blue>foo<font color=brown>[bar]</font>baz</font>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<font color=blue>foo<font color=brown>[bar]</font>baz</font>": execCommand("forecolor", false, "#0000FF") return value
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<font color=blue>foo<font color=brown>[bar]</font>baz</font>" checks for modifications to non-editable content
-FAIL [["stylewithcss","false"],["forecolor","#0000FF"]] "<font color=blue>foo<font color=brown>[bar]</font>baz</font>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font color=\"blue\">foobarbaz</font>" but got "<font color=\"#0000ff\">foo</font><font color=\"#0000ff\">bar</font><font color=\"#0000ff\">baz</font>"
+FAIL [["stylewithcss","false"],["forecolor","#0000FF"]] "<font color=blue>foo<font color=brown>[bar]</font>baz</font>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font color=\"blue\">foobarbaz</font>" but got "<font color=\"#0000ff\">foo</font><font style=\"\" color=\"#0000ff\">bar</font><font color=\"#0000ff\">baz</font>"
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<font color=blue>foo<font color=brown>[bar]</font>baz</font>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<font color=blue>foo<font color=brown>[bar]</font>baz</font>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<font color=blue>foo<font color=brown>[bar]</font>baz</font>" queryCommandValue("stylewithcss") before
@@ -1327,7 +1327,7 @@ PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "foo<span id=purple>ba[r
PASS [["stylewithcss","true"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>": execCommand("forecolor", false, "#0000FF") return value
PASS [["stylewithcss","true"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" checks for modifications to non-editable content
-FAIL [["stylewithcss","true"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span style=\"color:rgb(0, 0, 255)\">foo<span id=\"purple\">b<span style=\"color:rgb(0, 0, 255)\">a</span>r</span>baz</span>" but got "<span style=\"color:rgb(0, 0, 255)\">foo</span><span id=\"purple\"><span style=\"color:rgb(0, 0, 255)\">bar</span></span><span style=\"color:rgb(0, 0, 255)\">baz</span>"
+FAIL [["stylewithcss","true"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span style=\"color:rgb(0, 0, 255)\">foo<span id=\"purple\">b<span style=\"color:rgb(0, 0, 255)\">a</span>r</span>baz</span>" but got "<span style=\"color:rgb(0, 0, 255)\">foo</span><span id=\"purple\" style=\"\"><span style=\"color:rgb(0, 0, 255)\">bar</span></span><span style=\"color:rgb(0, 0, 255)\">baz</span>"
PASS [["stylewithcss","true"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" queryCommandValue("stylewithcss") before
@@ -1343,7 +1343,7 @@ PASS [["stylewithcss","true"],["forecolor","#0000FF"]] "<span style=\"color: rgb
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>": execCommand("forecolor", false, "#0000FF") return value
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" checks for modifications to non-editable content
-FAIL [["stylewithcss","false"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span style=\"color:rgb(0, 0, 255)\">foo<span id=\"purple\">b<font color=\"#0000ff\">a</font>r</span>baz</span>" but got "<font color=\"#0000ff\">foo</font><span id=\"purple\"><font color=\"#0000ff\">bar</font></span><font color=\"#0000ff\">baz</font>"
+FAIL [["stylewithcss","false"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<span style=\"color:rgb(0, 0, 255)\">foo<span id=\"purple\">b<font color=\"#0000ff\">a</font>r</span>baz</span>" but got "<font color=\"#0000ff\">foo</font><span id=\"purple\" style=\"\"><font color=\"#0000ff\">bar</font></span><font color=\"#0000ff\">baz</font>"
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["forecolor","#0000FF"]] "<span style=\"color: rgb(0, 0, 255)\">foo<span id=purple>b[a]r</span>baz</span>" queryCommandValue("stylewithcss") before

Powered by Google App Engine
This is Rietveld 408576698