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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-execcommand.html

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/fast/events/inputevents/inputevent-execcommand.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-execcommand.html b/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-execcommand.html
index 4ffc872e21753c238545ee104c19e80c75c3ce5d..933dffe11e8e539daaba9fb81d7f64f7b715c0f1 100644
--- a/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-execcommand.html
+++ b/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-execcommand.html
@@ -75,10 +75,10 @@ test(function() {
selection.collapse(txt, 0);
selection.extend(txt, 1);
testExecCommandInputType('removeFormat', null, 'formatRemove');
- assert_equals(txt.innerHTML, '<div>abc</div>');
+ assert_equals(txt.innerHTML, '<div style="">abc</div>');
testExecCommandInputType('indent', null, 'formatIndent');
testExecCommandInputType('outdent', null, 'formatOutdent');
- assert_equals(txt.innerHTML, '<div>abc</div>');
+ assert_equals(txt.innerHTML, '<div style="">abc</div>');
// Copy shouldn't fire 'input'.
testExecCommandInputType('copy', null, NO_INPUT_EVENT_FIRED);

Powered by Google App Engine
This is Rietveld 408576698