mirror of
https://github.com/servo/servo.git
synced 2025-08-21 13:25:34 +01:00
Update web-platform-tests to revision b8669365b81965f5400d6b13a7783415b44e679d
This commit is contained in:
parent
6fa1853bb1
commit
bde105ca2e
42 changed files with 933 additions and 241 deletions
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<base id="base" href="invalid:">
|
||||
<svg id="svg">
|
||||
<pattern id="pat" xlink:href="#pat"/>
|
||||
</svg>
|
||||
<script>
|
||||
async_test(t => {
|
||||
onload = t.step_func_done(() => {
|
||||
let pattern = document.getElementById("pat");
|
||||
base.href = "";
|
||||
document.body.insertBefore(document.getElementById("svg").cloneNode(true),
|
||||
document.body.firstChild);
|
||||
document.body.offsetTop;
|
||||
pattern.setAttribute("clip-rule", "evenodd");
|
||||
document.body.offsetTop;
|
||||
pattern.setAttribute("width", "0");
|
||||
document.getElementById("svg").setAttribute("systemLanguage", "x-nonexistent");
|
||||
document.body.offsetTop;
|
||||
});
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue