mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision b'5656a2f4653b5894c500b724778009ca9a26e48c'
This commit is contained in:
parent
cc6026d81e
commit
41d386c907
861 changed files with 3963 additions and 1531 deletions
|
@ -101,7 +101,7 @@ test(() => {
|
|||
|
||||
with_style_node(`div { ${name}: calc(1px + 1px); }`, () => {
|
||||
// ${name} should be a token sequence at this point.
|
||||
assert_equals(getComputedStyle(div).getPropertyValue(name), ' calc(1px + 1px)');
|
||||
assert_equals(getComputedStyle(div).getPropertyValue(name), 'calc(1px + 1px)');
|
||||
|
||||
with_at_property({
|
||||
name: name,
|
||||
|
@ -114,7 +114,7 @@ test(() => {
|
|||
});
|
||||
|
||||
// ${name} should be a token sequence again.
|
||||
assert_equals(getComputedStyle(div).getPropertyValue(name), ' calc(1px + 1px)');
|
||||
assert_equals(getComputedStyle(div).getPropertyValue(name), 'calc(1px + 1px)');
|
||||
});
|
||||
}, 'Computed value becomes token sequence when @property is removed');
|
||||
|
||||
|
@ -122,7 +122,7 @@ test(() => {
|
|||
let name = generate_name();
|
||||
|
||||
with_style_node(`#outer { ${name}: 10px; }`, () => {
|
||||
assert_equals(getComputedStyle(div).getPropertyValue(name), ' 10px');
|
||||
assert_equals(getComputedStyle(div).getPropertyValue(name), '10px');
|
||||
|
||||
with_at_property({
|
||||
name: name,
|
||||
|
@ -134,7 +134,7 @@ test(() => {
|
|||
assert_equals(getComputedStyle(div).getPropertyValue(name), '0px');
|
||||
});
|
||||
|
||||
assert_equals(getComputedStyle(div).getPropertyValue(name), ' 10px');
|
||||
assert_equals(getComputedStyle(div).getPropertyValue(name), '10px');
|
||||
});
|
||||
}, 'Inherited status is reflected in computed styles when @property is removed');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue