Summary: | Text decoration renders on top of text when it should be below | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andy Bell <hi> | ||||||||||||
Component: | CSS | Assignee: | Tim Nguyen (:ntim) <ntim> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | changseok, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, megan_gardner, mmaxfield, ntim, pdr, simon.fraser, webkit-bug-importer, zalan | ||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||
Version: | Safari 14 | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=196841 https://bugs.webkit.org/show_bug.cgi?id=237816 |
||||||||||||||
Bug Depends on: | 234707 | ||||||||||||||
Bug Blocks: | |||||||||||||||
Attachments: |
|
Description
Andy Bell
2021-06-28 05:39:38 PDT
Created attachment 446953 [details]
Patch
Created attachment 446954 [details]
Patch
Created attachment 446955 [details]
Patch
I think this is a dup of https://bugs.webkit.org/show_bug.cgi?id=196194. I guess I'll reverse-dup... *** Bug 196194 has been marked as a duplicate of this bug. *** bug 196841 reverted a previous fix here, due to perf regression Comment on attachment 446955 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446955&action=review > Source/WebCore/rendering/TextDecorationPainter.cpp:317 > +void TextDecorationPainter::strokeLineThrough(const Color& color, float thickness, const FloatPoint& localOrigin) This use of "stroke" here is easily confused with "text stroke". Just call it paintLineThrough() and limit use the term "stroke" in the code. Created attachment 447018 [details]
Patch
Committed r286955 (245180@main): <https://commits.webkit.org/245180@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447018 [details]. |