Update web-platform-tests to revision 077bb422b7bb21491a414e334bc594d83ca9e55b

This commit is contained in:
WPT Sync Bot 2018-10-16 21:24:11 -04:00
parent aa9591137a
commit b2341e328d
248 changed files with 2930 additions and 1961 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>