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

Don't put the computed value in the title of computed value tests #20606

Merged
merged 1 commit into from Dec 9, 2019

Conversation

jgraham
Copy link
Contributor

@jgraham jgraham commented Dec 4, 2019

This can vary so doesn't make a unique test title.

@jgraham jgraham requested review from emilio and removed request for frivoal and gsnedders December 4, 2019 14:07
@@ -37,18 +33,13 @@ function test_computed_value(property, specified, computed) {
assert_equals(getComputedStyle(target)[property], readValue,
'computed value should round-trip');
}
}, "Property " + property + " value '" + specified + "' computes to " +
computedDesc);
}, "Property " + property + " value '" + specified);
Copy link
Contributor

Choose a reason for hiding this comment

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

Close the quote? Or just ${property}: ${value} or such

@@ -78,6 +69,5 @@ function test_pseudo_computed_value(pseudo, property, specified, computed) {
} finally {
document.documentElement.removeChild(styleElement);
}
}, "Property " + property + " value '" + specified + "' computes to " +
computedDesc + " in " + pseudo);
}, "Property " + property + " value '" + specified + " in " + pseudo);
Copy link
Contributor

Choose a reason for hiding this comment

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

Same, close the single quote that starts with value ' here?

This can vary so doesn't make a unique test title.
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

4 participants