mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Update web-platform-tests to revision b'8a99353217938b6f1da31a9a108da3d501cee58b'
This commit is contained in:
parent
62ec0f1ec7
commit
92be0baf34
211 changed files with 5373 additions and 2272 deletions
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>margin-trim: grid-block</title>
|
||||
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-grid">
|
||||
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
|
||||
<meta name="assert" content="block should trim block-start margin of items on first row and block-end margins of items on last row">
|
||||
<style>
|
||||
grid {
|
||||
display: inline-grid;
|
||||
grid-template-columns: auto auto;
|
||||
margin-trim: block;
|
||||
}
|
||||
item {
|
||||
display: block;
|
||||
background-color: green;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
.block-start-margin {
|
||||
margin-block-start: 10px;
|
||||
}
|
||||
.block-end-margin {
|
||||
margin-block-end: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<grid>
|
||||
<item class="block-start-margin"></item>
|
||||
<item class="block-start-margin"></item>
|
||||
<item class="block-end-margin"></item>
|
||||
<item class="block-end-margin"></item>
|
||||
</grid>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue