Summary: | WebKit incorrectly capitalizes if there's an abspos between two inlines. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Emilio Cobos Álvarez (:emilio) <emilio> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | REOPENED --- | ||||||
Severity: | Normal | CC: | ahmad.saleem792, bfulgham, mmaxfield, simon.fraser, zalan | ||||
Priority: | P2 | Keywords: | WPTImpact | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Chrome and Safari match behavior here (in 2022). Firefox produces the 'expected' beavhior. Is there a WPT covering this behavior? Please REOPEN this bug if a Web Platform Test illustrates an issue. For now, we should match Chrome behavior to avoid Website Compatibility issues. |
Created attachment 355195 [details] Testcase. See the attachment. The pseudo-element is out of flow, so it shouldn't affect capitalization. So expected rendering is "Homeblog" instead of "HomeBlog". Furthermore, removing the pseudo-element dynamically doesn't fix the issue, and you need to force text-layout again somehow to see the correct rendering.