mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -14,23 +14,23 @@
|
|||
var elem = document.getElementById('longhand-whitespace');
|
||||
|
||||
assert_equals(elem.style.cssText, 'font-size: var(--a);');
|
||||
}, 'Longhand with variable preserves original serialization: with withespace')
|
||||
}, 'Longhand with variable preserves original serialization: with whitespace')
|
||||
|
||||
test(function() {
|
||||
var elem = document.getElementById('shorthand-whitespace');
|
||||
|
||||
assert_equals(elem.style.cssText, 'font: var(--a);');
|
||||
}, 'Shorthand with variable preserves original serialization: with withespace')
|
||||
}, 'Shorthand with variable preserves original serialization: with whitespace')
|
||||
|
||||
test(function() {
|
||||
var elem = document.getElementById('longhand');
|
||||
|
||||
assert_equals(elem.style.cssText, 'font-size:var(--a);');
|
||||
}, 'Longhand with variable preserves original serialization: without withespace')
|
||||
}, 'Longhand with variable preserves original serialization: without whitespace')
|
||||
|
||||
test(function() {
|
||||
var elem = document.getElementById('shorthand');
|
||||
|
||||
assert_equals(elem.style.cssText, 'font:var(--a);');
|
||||
}, 'Shorthand with variable preserves original serialization: without withespace')
|
||||
}, 'Shorthand with variable preserves original serialization: without whitespace')
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue