Skip to content

Commit 5e1927c

Browse files
nt1msammygill
andauthored
WebKit export: REGRESSION(302102@main): daringfireball.net layout is broken at wider window widths when zooming (#55805)
https://bugs.webkit.org/show_bug.cgi?id=301641 Co-authored-by: Sammy Gill <[email protected]>
1 parent 484931e commit 5e1927c

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link rel="help" href="https://drafts.csswg.org/css-viewport/#zoom-property">
5+
<link rel="match" href="reference/abspos-static-position-ref.html">
6+
<style>
7+
body {
8+
margin: 0;
9+
zoom: 2;
10+
}
11+
.parent {
12+
margin-top: 50px;
13+
margin-left: 25%;
14+
height: 100px;
15+
outline: 2px solid black;
16+
}
17+
18+
.abspos {
19+
position: absolute;
20+
width: 100px;
21+
height: 100px;
22+
background-color: green;
23+
}
24+
</style>
25+
</head>
26+
<body>
27+
<div class="parent">
28+
<div class="abspos"></div>
29+
</div>
30+
</body>
31+
</html>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<style>
4+
body {
5+
margin: 0;
6+
}
7+
.parent {
8+
margin-top: 100px;
9+
margin-left: 25%;
10+
height: 200px;
11+
outline: 4px solid black;
12+
}
13+
14+
.abspos {
15+
position: absolute;
16+
width: 200px;
17+
height: 200px;
18+
background-color: green;
19+
}
20+
</style>
21+
<body>
22+
<div class="parent">
23+
<div class="abspos"></div>
24+
</div>
25+
</body>
26+
</html>

0 commit comments

Comments
 (0)