Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test that important flags are checked when serializing shorthand with "initial" values #12729

Merged

Conversation

Loirooriol
Copy link
Contributor

@@ -58,6 +58,20 @@
assert_equals(testElem.style.margin, "20px");
assert_equals(testElem.style.cssText, "margin: 20px;")
}, "Shorthand serialization after setting");

test(function() {
var testElem = document.getElementById("test");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, use 'let' or 'const' here.

}, "Shorthand serialization with 'initial' value.");

test(function() {
var testElem = document.getElementById("test");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@javifernandez javifernandez merged commit 0f5d43a into web-platform-tests:master Aug 28, 2018
@Loirooriol Loirooriol deleted the css-shorthand-initial branch August 28, 2018 22:17
Loirooriol added a commit to Loirooriol/web-platform-tests that referenced this pull request Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants