| Summary: | Live Text selections inside images is misaligned when "object-fit" is not "fill" | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||||||
| Component: | Platform | Assignee: | Wenson Hsieh <wenson_hsieh> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | bdakin, cdumez, changseok, esprehn+autocc, ews-watchlist, gyuyoung.kim, hi, megan_gardner, thorton, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Wenson Hsieh
2021-06-28 09:40:55 PDT
Created attachment 432403 [details]
Patch
Created attachment 432414 [details]
Patch
Comment on attachment 432414 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=432414&action=review > Source/WebCore/html/HTMLElement.cpp:1466 > + document().updateLayoutIfDimensionsOutOfDate(*this); I don't think this is the right kind of layout? I think you want the normal update-if-needed-recursively Comment on attachment 432414 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=432414&action=review >> Source/WebCore/html/HTMLElement.cpp:1466 >> + document().updateLayoutIfDimensionsOutOfDate(*this); > > I don't think this is the right kind of layout? I think you want the normal update-if-needed-recursively Good point — will change this to just be a standard `document().updateLayoutIgnorePendingStylesheets();`. Created attachment 432419 [details]
Patch for landing
Committed r279349 (239217@main): <https://commits.webkit.org/239217@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432419 [details]. |