Bug 228902

Summary: `::first-letter` cause the `display:contents` element style cannot be inherited
Product: WebKit Reporter: 709922234
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: kevin_neal, koivisto, mmaxfield, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Firefox-Safari-Chrome none

Description 709922234 2021-08-07 20:45:02 PDT
Created attachment 435141 [details]
Firefox-Safari-Chrome

Steps to reproduce:

visit https://codepen.io/mantou132/pen/qBmJGyX

Actual results:

text font-size is 16px;

Expected results:

font-size is 36px;
Comment 1 Kevin Neal 2021-08-12 10:25:09 PDT
Thank you for filing. I can reproduce the bug on Safari 14.1.2 and latest Safari 15.
Comment 2 Radar WebKit Bug Importer 2021-08-12 10:25:23 PDT
<rdar://problem/81855825>