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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/toggle-compound-styles-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/execCommand/toggle-compound-styles-expected.txt
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/toggle-compound-styles-expected.txt b/third_party/WebKit/LayoutTests/editing/execCommand/toggle-compound-styles-expected.txt
index 6887db5d2c7f6e2f1ec383fc3e5375cb7b33f890..e3445feb5814bb71eaaf794443c72a73c7fba5db 100644
--- a/third_party/WebKit/LayoutTests/editing/execCommand/toggle-compound-styles-expected.txt
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/toggle-compound-styles-expected.txt
@@ -9,10 +9,10 @@ PASS one bold command converted "<b>hello </b>world" to "hello world
PASS one bold command converted "<u><b>hello </b></u>world" to "<u>hello </u>world
PASS one italic command converted "<i>hello</i> <img>" to "hello <img>
PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world</b></u>" to "<u><span id="test">hello</span>world</u>
-PASS one bold command converted "<span id='test' style='font-weight:normal;'><b>hello</b></span>" to "<span id="test">hello</span>
+PASS one bold command converted "<span id='test' style='font-weight:normal;'><b>hello</b></span>" to "<span id="test" style="">hello</span>
PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div>
PASS one italic command converted "<i>hello </i><img>" to "hello <img>
-PASS one italic command converted "<i><b>hello</b>world</i>" to "<b>hello</b>world
+PASS one italic command converted "<i><b>hello</b>world</i>" to "<b style="">hello</b>world
PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello
PASS one italic command converted "<p><i>hello</i><span style='font-style:italic;'>world</span></p>" to "<p>helloworld</p>
PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b><i>hello world</i></b></s>
@@ -23,10 +23,10 @@ PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b>
PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u>world</b>
PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i>
PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world</b></u>" to "<u><span id="test">hello</span>world</u>
-PASS one bold command converted "<span id='test' style='font-weight:normal;'><b>hello</b></span>" to "<span id="test">hello</span>
+PASS one bold command converted "<span id='test' style='font-weight:normal;'><b>hello</b></span>" to "<span id="test" style="">hello</span>
PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div>
PASS one italic command converted "<i>hello </i><img>" to "hello <img>
-PASS one italic command converted "<i><b>hello</b>world</i>" to "<b>hello</b>world
+PASS one italic command converted "<i><b>hello</b>world</i>" to "<b style="">hello</b>world
PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello
PASS one italic command converted "<p><i>hello</i><span style='font-style:italic;'>world</span></p>" to "<p>helloworld</p>
PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b><i>hello world</i></b></s>
@@ -37,10 +37,10 @@ PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b>
PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u>world</b>
PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i>
PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world</b></u>" to "<u><span id="test">hello</span>world</u>
-PASS one bold command converted "<span id='test' style='font-weight:normal;'><b>hello</b></span>" to "<span id="test">hello</span>
+PASS one bold command converted "<span id='test' style='font-weight:normal;'><b>hello</b></span>" to "<span id="test" style="">hello</span>
PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div>
PASS one italic command converted "<i>hello </i><img>" to "hello <img>
-PASS one italic command converted "<i><b>hello</b>world</i>" to "<b>hello</b>world
+PASS one italic command converted "<i><b>hello</b>world</i>" to "<b style="">hello</b>world
PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello
PASS one italic command converted "<p><i>hello</i><span style='font-style:italic;'>world</span></p>" to "<p>helloworld</p>
PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b><i>hello world</i></b></s>
@@ -51,10 +51,10 @@ PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b>
PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u>world</b>
PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i>
PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world</b></u>" to "<u><span id="test">hello</span>world</u>
-PASS one bold command converted "<span id='test' style='font-weight:normal;'><b>hello</b></span>" to "<span id="test">hello</span>
+PASS one bold command converted "<span id='test' style='font-weight:normal;'><b>hello</b></span>" to "<span id="test" style="">hello</span>
PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div>
PASS one italic command converted "<i>hello </i><img>" to "hello <img>
-PASS one italic command converted "<i><b>hello</b>world</i>" to "<b>hello</b>world
+PASS one italic command converted "<i><b>hello</b>world</i>" to "<b style="">hello</b>world
PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello
PASS one italic command converted "<p><i>hello</i><span style='font-style:italic;'>world</span></p>" to "<p>helloworld</p>
PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b><i>hello world</i></b></s>

Powered by Google App Engine
This is Rietveld 408576698