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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements-win.js

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/script-tests/remove-format-multiple-elements-win.js
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements-win.js b/third_party/WebKit/LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements-win.js
index 4c9c0e567bd0d16311b820d3409a58f2df98b44c..fd0cc36572664afdab9267010542a0f1ff0e8a06 100644
--- a/third_party/WebKit/LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements-win.js
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements-win.js
@@ -80,7 +80,7 @@ testRemoveFormat('<font color="red"><b style="font-size: large;"><u>hello</u> wo
testRemoveFormat('<font size="5"><i><u style="font-size: small;">hello</u> world</i><font size="3"> WebKit</font></font>',
selectSecondWord, '<font size="5"><i><u style="font-size: small;">hello</u> </i></font>world <font size="5"><font size="3">WebKit</font></font>');
testRemoveFormat('<sup><div style="text-decoration: underline; font-size: large;">hello <dfn style="font-size: normal;">world</dfn></div> WebKit</sup>',
- selectSecondWord, '<div><sup><font size="4"><u>hello </u></font></sup>world</div><sup> WebKit</sup>');
+ selectSecondWord, '<div style=""><sup><font size="4"><u>hello </u></font></sup>world</div><sup> WebKit</sup>');
document.body.removeChild(testContainer);

Powered by Google App Engine
This is Rietveld 408576698