WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
328471
Read non-inherited parent style from the parent in text decoration and text extraction code
https://bugs.webkit.org/show_bug.cgi?id=328471
Summary
Read non-inherited parent style from the parent in text decoration and text e...
Antti Koivisto
Reported
2026-10-22 06:40:23 PDT
Follow-up to
bug 328162
. RenderText::style() returns its parent's style, so text decoration painting (collectStylesForRenderer) and text extraction (paintsVisibleContent, extractRenderedTokens) read non-inherited parent properties such as decorations, display, pseudo-element flags and opacity through a text renderer. Text is going to get its own anonymous style, and those reads would then see initial values. Read the parent's style explicitly. No behavior change.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-10-22 06:40:33 PDT
<
rdar://problem/190721617
>
Antti Koivisto
Comment 2
2026-10-22 06:41:45 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/77897
EWS
Comment 3
2026-10-26 11:54:20 PDT
Committed
324741@main
(6191bcefeb9c): <
https://commits.webkit.org/324741@main
> Reviewed commits have been landed. Closing PR #77897 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug