mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +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,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>margin-trim: grid-inline-end</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">
|
||||
<meta name="assert" content="inline-end should trim inline-end margins of items on last column">
|
||||
<style>
|
||||
grid {
|
||||
display: inline-grid;
|
||||
border: 1px solid black;
|
||||
grid-template-columns: auto auto;
|
||||
margin-trim: inline-end;
|
||||
}
|
||||
|
||||
item {
|
||||
display: block;
|
||||
background-color: green;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<grid>
|
||||
<item style="grid-column: span 2; width: auto;"></item>
|
||||
<item style="margin-inline-end: 10px;"></item>
|
||||
<item></item>
|
||||
</grid>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue