mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
Update web-platform-tests to revision b'099ab08227717e000b444ff560e93f96b49e05d7'
This commit is contained in:
parent
53570ffe55
commit
a1db4c746d
172 changed files with 12261 additions and 2279 deletions
|
@ -1,13 +1,11 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test: paint containment on body prevents overflow propagation</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name=flags content="">
|
||||
<meta name=assert content="paint containment on body prevents overflow propagation">
|
||||
<link rel="match" href="reference/contain-body-overflow-001-ref.html">
|
||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#contain-property">
|
||||
|
||||
<html lang=en class="reftest-wait">
|
||||
<meta charset=utf-8>
|
||||
<title>CSS-contain test: paint containment on body prevents overflow propagation</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||
<meta name="assert" content="paint containment on body prevents overflow propagation">
|
||||
<link rel="match" href="reference/contain-body-overflow-001-ref.html">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#contain-property">
|
||||
<style>
|
||||
html, body, p, div {
|
||||
margin: 0;
|
||||
|
@ -28,6 +26,9 @@ body {
|
|||
<p tabindex=1 id=target>Test passes if there is no red.
|
||||
<script>
|
||||
window.onload = function() {
|
||||
document.getElementById("target").focus()
|
||||
document.getElementById("target").focus();
|
||||
setTimeout(() => {
|
||||
document.documentElement.className = "";
|
||||
}, 0);
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue