Update web-platform-tests to revision b'8d8b273d2265095c7f5330ff231940e68fb49754'

This commit is contained in:
WPT Sync Bot 2023-05-07 01:27:55 +00:00
parent bee09efcc5
commit 9b45fdb3f5
1819 changed files with 34819 additions and 33935 deletions

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-grid-3">
<meta name="assert" content="When the width of the masonry grid changes, items are repositioned with correct offsets and are not overlapping">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
grid {
display: grid;
width: 1%;
grid-template-rows: masonry;
grid-template-columns: auto;
grid-gap: 10px;
font-family: Ahem;
font-size: 40px;
}
item {
background-color: grey;
}
</style>
</head>
<body>
<grid>
<item>Hello, world!</item>
<item>2</item>
</grid>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-grid-3">
<link rel="match" href="masonry-rows-with-grid-width-changed-ref.html">
<meta name="assert" content="When the width of the masonry grid changes, items are repositioned with correct offsets and are not overlapping">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
grid {
display: grid;
grid-template-rows: masonry;
grid-template-columns: auto;
grid-gap: 10px;
font-family: Ahem;
font-size: 40px;
}
item {
background-color: grey;
}
</style>
</head>
<body>
<grid>
<item>Hello, world!</item>
<item>2</item>
</grid>
</body>
<script>
// Make sure layout occurs and then mutate the style to retrigger it
document.body.offsetHeight;
document.querySelector("grid").style["width"] = "1%";
</script>
</html>