mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Update web-platform-tests to revision 213a7607e8d6ba44d88f1774319e6c1c82ab1ccb
This commit is contained in:
parent
95614f57f1
commit
8903de3c76
119 changed files with 1456 additions and 594 deletions
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Mozilla" href="https://mozilla.org">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1606485">
|
||||
<style>
|
||||
* {
|
||||
grid-template-rows: subgrid;
|
||||
display: grid;
|
||||
overflow: scroll;
|
||||
contain: strict;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
let e = document.createElement('s');
|
||||
document.documentElement.appendChild(e);
|
||||
document.documentElement.getBoundingClientRect() // Update layout
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>contain: strict element with subgrid properties</title>
|
||||
<link rel="author" title="Mozilla" href="https://mozilla.org">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1606485">
|
||||
</head>
|
||||
<style>
|
||||
|
||||
#gridcontainer {
|
||||
display: grid;
|
||||
contain: strict;
|
||||
}
|
||||
|
||||
.item {
|
||||
display: grid;
|
||||
grid: subgrid [x] / subgrid [x];
|
||||
}
|
||||
</style>
|
||||
<div id="gridcontainer">
|
||||
<div class="item">Text1</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue