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

Unified Diff: third_party/WebKit/LayoutTests/editing/style/push-down-font-styles-win-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/editing/style/push-down-font-styles-win-expected.txt
diff --git a/third_party/WebKit/LayoutTests/editing/style/push-down-font-styles-win-expected.txt b/third_party/WebKit/LayoutTests/editing/style/push-down-font-styles-win-expected.txt
index f45386d9e1bd64d3080a043c9b11b2a1996dc550..8be5693c585f6776a04b4775bd7ad95a1fe2611b 100644
--- a/third_party/WebKit/LayoutTests/editing/style/push-down-font-styles-win-expected.txt
+++ b/third_party/WebKit/LayoutTests/editing/style/push-down-font-styles-win-expected.txt
@@ -8,40 +8,40 @@ PASS fontsize 2 on all of "hello world" yields "<font size="2">hello world</font
PASS fontsize 4 on all of "hello world" yields "<font size="4">hello world</font>"
PASS fontsize 5 on first word of "hello world" yields "<font size="5">hello </font>world"
PASS fontsize 3 on first word of "<font size="7">hello <div>world</div></font>" yields "hello <div style="font-size: -webkit-xxx-large;">world</div>"
-PASS fontsize 3 on first word of "<font size="7"><div>hello</div><div>world</div></font>" yields "<div>hello</div><div style="font-size: -webkit-xxx-large;">world</div>"
+PASS fontsize 3 on first word of "<font size="7"><div>hello</div><div>world</div></font>" yields "<div style="">hello</div><div style="font-size: -webkit-xxx-large;">world</div>"
PASS fontsize 3 on second word of "<font size="7"><div>hello</div>world</font>" yields "<div style="font-size: -webkit-xxx-large;">hello</div>world"
PASS fontsize 7 on all of "<font size="7"><div>hello</div>world</font>" yields "<font size="7"><div>hello</div>world</font>"
-PASS fontsize 7 on all of "<font size="3"><div>hello</div>world</font>" yields "<div><font size="7">hello</font></div><font size="7">world</font>"
-PASS fontsize 6 on all of "<font size="7"><div>hello</div>world</font>" yields "<div><font size="6">hello</font></div><font size="6">world</font>"
-PASS fontsize 5 on all of "<font size="7"><div>hello</div>world</font>" yields "<div><font size="5">hello</font></div><font size="5">world</font>"
-PASS fontsize 3 on all of "<font size="7"><div>hello</div>world</font>" yields "<div>hello</div>world"
+PASS fontsize 7 on all of "<font size="3"><div>hello</div>world</font>" yields "<div style=""><font size="7">hello</font></div><font size="7">world</font>"
+PASS fontsize 6 on all of "<font size="7"><div>hello</div>world</font>" yields "<div style=""><font size="6">hello</font></div><font size="6">world</font>"
+PASS fontsize 5 on all of "<font size="7"><div>hello</div>world</font>" yields "<div style=""><font size="5">hello</font></div><font size="5">world</font>"
+PASS fontsize 3 on all of "<font size="7"><div>hello</div>world</font>" yields "<div style="">hello</div>world"
PASS fontsize 3 on all of "<font size="3"><div>hello</div>world</font>" yields "<font size="3"><div>hello</div>world</font>"
-PASS fontsize 1 on all of "<font size="3"><div>hello</div>world</font>" yields "<div><font size="1">hello</font></div><font size="1">world</font>"
+PASS fontsize 1 on all of "<font size="3"><div>hello</div>world</font>" yields "<div style=""><font size="1">hello</font></div><font size="1">world</font>"
Font size (with CSS)
PASS fontsize 7 on all of "<font size="7"><div>hello</div>world</font>" yields "<font size="7"><div>hello</div>world</font>"
-PASS fontsize 7 on all of "<font size="3"><div>hello</div>world</font>" yields "<div><span style="font-size: -webkit-xxx-large;">hello</span></div><span style="font-size: -webkit-xxx-large;">world</span>"
-PASS fontsize 6 on all of "<font size="7"><div>hello</div>world</font>" yields "<div><span style="font-size: xx-large;">hello</span></div><span style="font-size: xx-large;">world</span>"
-PASS fontsize 5 on all of "<font size="7"><div>hello</div>world</font>" yields "<div><span style="font-size: x-large;">hello</span></div><span style="font-size: x-large;">world</span>"
-PASS fontsize 3 on all of "<font size="7"><div>hello</div>world</font>" yields "<div>hello</div>world"
+PASS fontsize 7 on all of "<font size="3"><div>hello</div>world</font>" yields "<div style=""><span style="font-size: -webkit-xxx-large;">hello</span></div><span style="font-size: -webkit-xxx-large;">world</span>"
+PASS fontsize 6 on all of "<font size="7"><div>hello</div>world</font>" yields "<div style=""><span style="font-size: xx-large;">hello</span></div><span style="font-size: xx-large;">world</span>"
+PASS fontsize 5 on all of "<font size="7"><div>hello</div>world</font>" yields "<div style=""><span style="font-size: x-large;">hello</span></div><span style="font-size: x-large;">world</span>"
+PASS fontsize 3 on all of "<font size="7"><div>hello</div>world</font>" yields "<div style="">hello</div>world"
PASS fontsize 3 on all of "<font size="3"><div>hello</div>world</font>" yields "<font size="3"><div>hello</div>world</font>"
-PASS fontsize 1 on all of "<font size="3"><div>hello</div>world</font>" yields "<div><span style="font-size: x-small;">hello</span></div><span style="font-size: x-small;">world</span>"
+PASS fontsize 1 on all of "<font size="3"><div>hello</div>world</font>" yields "<div style=""><span style="font-size: x-small;">hello</span></div><span style="font-size: x-small;">world</span>"
Font family
PASS fontname Arial on all of "hello world" yields "<font face="Arial">hello world</font>"
PASS fontname Arial on first word of "<font face="sans-serif">hello world</font>" yields "<font face="Arial">hello </font><font face="sans-serif">world</font>"
PASS fontname Arial on first word of "<font face="sans-serif">hello<div>world</div></font>" yields "<font face="Arial">hello</font><div style="font-family: sans-serif;">world</div>"
-PASS fontname Arial on second word of "<font face="sans-serif">hello<div>world</div></font>" yields "<font face="sans-serif">hello</font><div><font face="Arial">world</font></div>"
+PASS fontname Arial on second word of "<font face="sans-serif">hello<div>world</div></font>" yields "<font face="sans-serif">hello</font><div style=""><font face="Arial">world</font></div>"
PASS fontname Sans-Serif on all of "<font face="sans-serif"><div>hello</div><div>world</div></font>" yields "<font face="sans-serif"><div>hello</div><div>world</div></font>"
-PASS fontname Arial on all of "<font face="sans-serif"><div>hello</div><div>world</div></font>" yields "<div><font face="Arial">hello</font></div><div><font face="Arial">world</font></div>"
+FAIL fontname Arial on all of "<font face="sans-serif"><div>hello</div><div>world</div></font>" yields "<div style=""><font face="Arial">hello</font></div><div style=""><font face="Arial">world</font></div>", expected "<div><font face="Arial">hello</font></div><div><font face="Arial">world</font></div>"
Font family (with CSS)
PASS fontname Arial on all of "hello world" yields "<span style="font-family: Arial;">hello world</span>"
PASS fontname Arial on first word of "<font face="sans-serif">hello world</font>" yields "<span style="font-family: Arial;">hello </span><font face="sans-serif">world</font>"
PASS fontname Arial on first word of "<font face="sans-serif">hello<div>world</div></font>" yields "<span style="font-family: Arial;">hello</span><div style="font-family: sans-serif;">world</div>"
-PASS fontname Arial on second word of "<font face="sans-serif">hello<div>world</div></font>" yields "<span style="font-family: sans-serif;">hello</span><div><span style="font-family: Arial;">world</span></div>"
+PASS fontname Arial on second word of "<font face="sans-serif">hello<div>world</div></font>" yields "<span style="font-family: sans-serif;">hello</span><div style=""><span style="font-family: Arial;">world</span></div>"
PASS fontname Sans-Serif on all of "<font face="sans-serif"><div>hello</div><div>world</div></font>" yields "<font face="sans-serif"><div>hello</div><div>world</div></font>"
-PASS fontname Arial on all of "<font face="sans-serif"><div>hello</div><div>world</div></font>" yields "<div><span style="font-family: Arial;">hello</span></div><div><span style="font-family: Arial;">world</span></div>"
+FAIL fontname Arial on all of "<font face="sans-serif"><div>hello</div><div>world</div></font>" yields "<div style=""><span style="font-family: Arial;">hello</span></div><div style=""><span style="font-family: Arial;">world</span></div>", expected "<div><span style="font-family: Arial;">hello</span></div><div style=""><span style="font-family: Arial;">world</span></div>"
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698