mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:ecobos@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/cssom/#the-elementcssinlinestyle-interface">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id="test" style="color: red"></div>
|
||||
<script>
|
||||
test(function() {
|
||||
var el = document.getElementById("test");
|
||||
el.style.color = "";
|
||||
assert_true(el.hasAttribute("style"));
|
||||
}, "Mutating the style declaration doesn't remove the style attribute");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue