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

Unified Diff: third_party/WebKit/LayoutTests/custom-elements/spec/callback.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/5770834-1-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/custom-elements/spec/callback.html
diff --git a/third_party/WebKit/LayoutTests/custom-elements/spec/callback.html b/third_party/WebKit/LayoutTests/custom-elements/spec/callback.html
index e0c297b4ab59fcff7e8c6f6097fb2f3dfe5588da..cec28ba7ac0f094e8c7ff18fc806b123f7f6f7ee 100644
--- a/third_party/WebKit/LayoutTests/custom-elements/spec/callback.html
+++ b/third_party/WebKit/LayoutTests/custom-elements/spec/callback.html
@@ -105,7 +105,7 @@
element.style.color = '';
assert_equals(logs.length, 3);
- assert_log_is_type(logs, 2, attributeChanged, element, ['style', 'color: green;', null, null]);
+ assert_log_is_type(logs, 2, attributeChanged, element, ['style', 'color: green;', "", null]);
}, 'style.color should enqueue attributeChangedCallback for style attribute');
test_with_window(w => {
@@ -133,7 +133,7 @@
element.style.removeProperty('color', 'red');
assert_equals(logs.length, 2);
- assert_log_is_type(logs, 1, attributeChanged, element, ['style', 'color: red;', null, null]);
+ assert_log_is_type(logs, 1, attributeChanged, element, ['style', 'color: red;', "", null]);
}, 'style.setProperty/removeProperty should enqueue attributeChangedCallback for style attribute');
test_with_window(w => {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/5770834-1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698