mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update web-platform-tests to revision d2f5658cb7f7806b2c6adf81ecb7ded82fb85df5
This commit is contained in:
parent
dc8be8f282
commit
145699ccd0
102 changed files with 410 additions and 458 deletions
|
@ -21,6 +21,7 @@ function test_computed_value(property, specified, computed) {
|
|||
test(() => {
|
||||
const target = document.getElementById('target');
|
||||
assert_true(property in getComputedStyle(target), property + " doesn't seem to be supported in the computed style");
|
||||
assert_true(CSS.supports(property, specified), "'" + specified + "' is a supported value for " + property + ".");
|
||||
target.style[property] = '';
|
||||
target.style[property] = specified;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue