Bug 298379
| Summary: | [css-anchor-position-1] wrong clip testing with 'position-visibility: anchors-visible' | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antti Koivisto <koivisto> |
| Component: | CSS | Assignee: | Antti Koivisto <koivisto> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/54708 | ||
Antti Koivisto
<style>
.clip {
overflow: hidden;
border: 2px solid red;
}
.c {
position: absolute;
top: 50px;
width: 100px;
height: 100px;
border: 2px solid green;
}
.anchor {
anchor-name: --foo;
background: blue;
}
.anchored {
left: anchor(left);
top: anchor(bottom);
position: absolute;
position-anchor: --foo;
background: green;
}
</style>
<div class=clip><div class=c><div class=anchor>anchor</div></div></div>
<div class=anchored>anchored</div>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Antti Koivisto
rdar://159790886
Antti Koivisto
Pull request: https://github.com/WebKit/WebKit/pull/50295
Antti Koivisto
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/54708