mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision 077bb422b7bb21491a414e334bc594d83ca9e55b
This commit is contained in:
parent
aa9591137a
commit
b2341e328d
248 changed files with 2930 additions and 1961 deletions
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Backgrounds and Borders Test: don't propagate body background when display:none</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#special-backgrounds">
|
||||
<link rel="match" href="../reference/blank.html">
|
||||
<style>
|
||||
body {
|
||||
background: red;
|
||||
display: none
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Backgrounds and Borders Test: don't propagate body background when html is display:none</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#special-backgrounds">
|
||||
<link rel="match" href="../reference/blank.html">
|
||||
<style>
|
||||
html { display: none; }
|
||||
body { background: red; }
|
||||
</style>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<title>CSS Backgrounds and Borders Test: don't propagate body background when html is display:none dynamic</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#special-backgrounds">
|
||||
<link rel="match" href="../reference/blank.html">
|
||||
<style>
|
||||
body { background: red; }
|
||||
</style>
|
||||
<script>
|
||||
window.onload = () => {
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
document.documentElement.style.display = "none";
|
||||
document.documentElement.classList.remove("reftest-wait");
|
||||
}));
|
||||
};
|
||||
</script>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Backgrounds and Borders Test: don't propagate html background when display:none</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#special-backgrounds">
|
||||
<link rel="match" href="../reference/blank.html">
|
||||
<style>
|
||||
html {
|
||||
background: red;
|
||||
display: none
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<title>CSS Backgrounds and Borders Test: don't propagate html background when display:none dynamic</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#special-backgrounds">
|
||||
<link rel="match" href="../reference/blank.html">
|
||||
<style>
|
||||
html { background: red; }
|
||||
</style>
|
||||
<script>
|
||||
window.onload = () => {
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
document.documentElement.style.display = "none";
|
||||
document.documentElement.classList.remove("reftest-wait");
|
||||
}));
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue