RESOLVED FIXED328471
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
Radar WebKit Bug Importer
Comment 1 2026-10-22 06:40:33 PDT
Antti Koivisto
Comment 2 2026-10-22 06:41:45 PDT
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.