Skip to content

Commit 16efad1

Browse files
committed
Bug 1979189 [wpt PR 53965] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=296441, a=testonly
Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=296441 (#53965) -- wpt-commits: 865cede4db4a4e52a1f037236c790ab70365e99b wpt-pr: 53965 UltraBlame original commit: 38cbfb1316e871759d341281e4e308899d7e8500
1 parent 2a3fae6 commit 16efad1

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<style>
4+
.grid {
5+
display: grid;
6+
padding: 13px;
7+
padding-bottom: 42px;
8+
border: 23px solid black;
9+
border-bottom-width: 45px;
10+
width: 100px;
11+
height: 100px;
12+
}
13+
.item {
14+
width: 50px;
15+
height: 50px;
16+
background-color: green;
17+
align-self: end;
18+
}
19+
</style>
20+
<body>
21+
<div class="grid">
22+
<div class="item"></div>
23+
</div>
24+
</body>
25+
</html>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<style>
4+
.grid {
5+
display: grid;
6+
border: 1px solid black;
7+
width: 100px;
8+
height: 100px;
9+
}
10+
.item {
11+
width: 50px;
12+
height: 50px;
13+
background-color: green;
14+
align-self: end;
15+
}
16+
</style>
17+
<body>
18+
<div class="grid">
19+
<div class="item"></div>
20+
</div>
21+
</body>
22+
</html>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link rel="help" href="https://drafts.csswg.org/css-align-3/#align-abspos">
5+
<link rel="help" href="https://www.w3.org/TR/css-position-3/#staticpos-rect">
6+
<link rel="match" href="grid-abspos-staticpos-align-self-end-ref.html"
7+
<meta name="assert" content="Abspos child of grid is aligned to end of grid content box when statically positioned and end self alignment.">
8+
<style>
9+
.grid {
10+
display: grid;
11+
border: 1px solid black;
12+
width: 100px;
13+
height: 100px;
14+
}
15+
.abspos {
16+
position: absolute;
17+
width: 50px;
18+
height: 50px;
19+
background-color: green;
20+
align-self: end;
21+
}
22+
</style>
23+
</head>
24+
<body>
25+
<div class="grid">
26+
<div class="abspos"></div>
27+
</div>
28+
</body>
29+
</html>

0 commit comments

Comments
 (0)