Bug 228902 - `::first-letter` cause the `display:contents` element style cannot be inherited
Summary: `::first-letter` cause the `display:contents` element style cannot be inherited
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-07 20:45 PDT by 709922234
Modified: 2021-08-12 10:25 PDT (History)
6 users (show)

See Also:


Attachments
Firefox-Safari-Chrome (128.19 KB, image/png)
2021-08-07 20:45 PDT, 709922234
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>