Bug 242570 - Incorrect paint rect on hover when link has box shadow styles with negative offsets
Summary: Incorrect paint rect on hover when link has box shadow styles with negative o...
Status: RESOLVED DUPLICATE of bug 241442
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
Keywords: InRadar
Depends on:
Reported: 2022-07-10 05:55 PDT by Jon Lee
Modified: 2022-07-10 09:33 PDT (History)
4 users (show)

See Also:

Test reduction (230 bytes, text/html)
2022-07-10 06:31 PDT, zalan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Lee 2022-07-10 05:55:21 PDT

Hover over the link. The entire text should paint yellow.

This does not happen on Chrome or Firefox.
Comment 1 Radar WebKit Bug Importer 2022-07-10 06:17:12 PDT
Comment 2 zalan 2022-07-10 06:31:57 PDT
Created attachment 460783 [details]
Test reduction
Comment 3 zalan 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();
Comment 4 zalan 2022-07-10 06:54:29 PDT
Also reported by Jon Lee :)

*** This bug has been marked as a duplicate of bug 241442 ***
Comment 5 Jon Lee 2022-07-10 07:08:05 PDT
Oh, nice! Thanks!
Comment 6 zalan 2022-07-10 09:33:54 PDT
(In reply to Jon Lee from comment #5)
> Oh, nice! Thanks!
Thank you for filing it!