mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision de9a09ab7f605aed6a4b53ed96427412bab76463
This commit is contained in:
parent
f3f9303fc9
commit
73a776843f
225 changed files with 5750 additions and 2858 deletions
|
@ -18,13 +18,13 @@
|
|||
</template>
|
||||
The following text should be green:
|
||||
<div><custom-element id="c-e"></custom-element></div>
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
"use strict";
|
||||
test(function() {
|
||||
var part = getElementByShadowIds(document, ["c-e", "part"]);
|
||||
var before = window.getComputedStyle(part).color;
|
||||
const part = getElementByShadowIds(document, ["c-e", "part"]);
|
||||
const before = window.getComputedStyle(part).color;
|
||||
part.setAttribute("part", "new-partp");
|
||||
var after = window.getComputedStyle(part).color;
|
||||
const after = window.getComputedStyle(part).color;
|
||||
assert_not_equals(before, after);
|
||||
}, "Part in selected host changed color");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue