| Summary: | Fix shadow invalidation rect issue in vertical-rl mode | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=264625 | ||
|
Description
Ahmad Saleem
2023-06-30 10:19:37 PDT
I'd look at the history of those flipped lines to see why we originally thought they needed flipping. Blink's commit message does not explain that (it just says it's erroneous) (In reply to zalan from comment #2) > I'd look at the history of those flipped lines to see why we originally > thought they needed flipping. Blink's commit message does not explain that > (it just says it's erroneous) Original bugs refer this: Shadows and border images should be unrelated to writing-mode. Should not flip the edges when invalidating them despite writing-mode. and in spec: https://drafts.csswg.org/css-writing-modes-3/#physical-only "The following values are purely physical in their definitions and do not respond to changes in writing mode:" -> the offsets of the box-shadow and text-shadow properties I tried to look back into this and this patch added the comment: https://bugs.webkit.org/attachment.cgi?id=106906&action=diff Although it is not super clear to myself. Since Simon is working on 'overflow' and 'repaint rects' clean-up, I think he might have more insight. @Simon - any insight? I tried to look back into this and this patch added the comment: https://bugs.webkit.org/attachment.cgi?id=106906&action=diff Although it is not super clear to myself. Since Simon is working on 'overflow' and 'repaint rects' clean-up, I think he might have more insight. @Simon - any insight? I think we do want to take this change. Committed 271416@main (b738ab355f6e): <https://commits.webkit.org/271416@main> Reviewed commits have been landed. Closing PR #21174 and removing active labels. |