Bug 191807

Summary: WebKit incorrectly capitalizes if there's an abspos between two inlines.
Product: WebKit Reporter: Emilio Cobos Álvarez (:emilio) <emilio>
Component: CSSAssignee: 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:
Description Flags
Testcase. none

Emilio Cobos Álvarez (:emilio)
Reported 2018-11-17 09:35:27 PST
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.
Attachments
Testcase. (190 bytes, text/html)
2018-11-17 09:35 PST, Emilio Cobos Álvarez (:emilio)
no flags
Brent Fulgham
Comment 1 2022-07-01 16:21:58 PDT
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.
Emilio Cobos Álvarez (:emilio)
Comment 2 2022-07-05 01:36:52 PDT
Note You need to log in before you can comment on or make changes to this bug.