Bug 193431

Summary: [LFC] Use the containing block's padding box to position out-of-flow elements.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description zalan 2019-01-14 20:48:37 PST
https://www.w3.org/TR/CSS22/visudet.html

If the element has 'position: absolute', the containing block is established by the nearest ancestor with a 'position' of 'absolute', 'relative' or 'fixed', in the following way:
In the case that the ancestor is an inline element, the containing block is the bounding box around the padding boxes of the first and the last inline boxes generated for that element. In CSS 2.2, if the inline element is split across multiple lines, the containing block is undefined.
Otherwise, the containing block is formed by the padding edge of the ancestor.
Comment 1 zalan 2019-01-14 21:27:19 PST
Created attachment 359133 [details]
Patch
Comment 2 WebKit Commit Bot 2019-01-15 06:49:01 PST
Comment on attachment 359133 [details]
Patch

Clearing flags on attachment: 359133

Committed r239983: <https://trac.webkit.org/changeset/239983>
Comment 3 WebKit Commit Bot 2019-01-15 06:49:02 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2019-01-15 06:49:28 PST
<rdar://problem/47283045>