mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'704eebbe6af5b43643971e96e33a0c979fba2904'
This commit is contained in:
parent
f8e014d0ba
commit
a6bc3e1a73
194 changed files with 13122 additions and 1992 deletions
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Test: Masonry item placement w/ Images</title>
|
||||
<link rel="author" title="Brandon Stewart" href="mailto:brandonstewart@apple.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-grid-2">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<style>
|
||||
grid {
|
||||
display: inline-grid;
|
||||
grid-template-columns: 400px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background-color: cyan;
|
||||
}
|
||||
</style>
|
||||
|
||||
<grid>
|
||||
<img width="400" height="400" />
|
||||
</grid>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Test: Masonry item placement w/ Images</title>
|
||||
<link rel="author" title="Brandon Stewart" href="mailto:brandonstewart@apple.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-grid-2">
|
||||
<link rel="match" href="masonry-item-placement-008-ref.html">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<style>
|
||||
grid {
|
||||
display: inline-grid;
|
||||
grid-template-rows: masonry;
|
||||
grid-template-columns: repeat( auto-fill, minmax(200px, 400px) );
|
||||
gap: 30px;
|
||||
max-width: 50vw;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background-color: cyan;
|
||||
}
|
||||
</style>
|
||||
|
||||
<grid>
|
||||
<img width="400" height="400" />
|
||||
</grid>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue