| Summary: | Column break is affected by outline | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ken <ken.sugiura> | ||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | karlcow, simon.fraser, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||
| Version: | Safari 15 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Ken
2022-09-28 12:22:38 PDT
another way to demonstrate the issue is to open the Web Inspector and add by hand an outline to the 3rd element and it shifts the layout. Compare this in Safari, Firefox, Chrome https://codepen.io/webcompat/pen/poVaOgy it illustrates the issue. The culprit here is: https://developer.mozilla.org/en-US/docs/Web/CSS/outline-offset https://w3c.github.io/csswg-drafts/css-ui-4/#outline-offset if I deactivate this, the outline does not influence the layout. a {outline-offset: 2px;} It probably needs a web-platform-test for this case. https://wpt.fyi/results/css/css-ui?label=master&label=experimental&aligned&view=subtest&q=outline |