Bug 218915

Summary: [LFC][Integration] Use the physical size when setting the pre-computed width/height on ReplacedBox
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch none

Description zalan 2020-11-13 10:36:32 PST
This is where the logical vs. physical flip happens for writing directions
Comment 1 zalan 2020-11-13 10:41:37 PST
Created attachment 414061 [details]
Patch
Comment 2 Antti Koivisto 2020-11-13 10:44:42 PST
Comment on attachment 414061 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=414061&action=review

> Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp:126
> +    updateReplacedDimensions(inlineBlock)

Might be nicer to have a private shared function (updateReplacedOrInlineBlockDimensions or similar)
Comment 3 zalan 2020-11-13 10:48:08 PST
(In reply to Antti Koivisto from comment #2)
> Comment on attachment 414061 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=414061&action=review
> 
> > Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp:126
> > +    updateReplacedDimensions(inlineBlock)
> 
> Might be nicer to have a private shared function
> (updateReplacedOrInlineBlockDimensions or similar)
good point!
Comment 4 zalan 2020-11-13 10:59:27 PST
Created attachment 414065 [details]
Patch
Comment 5 EWS 2020-11-14 09:39:00 PST
Committed r269818: <https://trac.webkit.org/changeset/269818>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 414065 [details].
Comment 6 Radar WebKit Bug Importer 2020-11-14 09:39:18 PST
<rdar://problem/71402371>