Bug 242570

Summary: Incorrect paint rect on hover when link has box shadow styles with negative offsets
Product: WebKit Reporter: Jon Lee <jonlee554>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test reduction none

Jon Lee
Reported 2022-07-10 05:55:21 PDT
https://codepen.io/legion80/pen/bGvepvR Hover over the link. The entire text should paint yellow. This does not happen on Chrome or Firefox.
Attachments
Test reduction (230 bytes, text/html)
2022-07-10 06:31 PDT, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2022-07-10 06:17:12 PDT
zalan
Comment 2 2022-07-10 06:31:57 PDT
Created attachment 460783 [details] Test reduction
zalan
Comment 3 2022-07-10 06:53:24 PDT
Progressed at r295472 (now we take text type runs into account when computing ink overflow) - auto mayHaveInkOverflow = displayBox.isAtomicInlineLevelBox() || displayBox.isGenericInlineLevelBox() || displayBox.isNonRootInlineBox(); + auto mayHaveInkOverflow = displayBox.isText() || displayBox.isAtomicInlineLevelBox() || displayBox.isGenericInlineLevelBox() || displayBox.isNonRootInlineBox();
zalan
Comment 4 2022-07-10 06:54:29 PDT
Also reported by Jon Lee :) *** This bug has been marked as a duplicate of bug 241442 ***
Jon Lee
Comment 5 2022-07-10 07:08:05 PDT
Oh, nice! Thanks!
zalan
Comment 6 2022-07-10 09:33:54 PDT
(In reply to Jon Lee from comment #5) > Oh, nice! Thanks! Thank you for filing it!
Note You need to log in before you can comment on or make changes to this bug.