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

zalan
Reported 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.
Attachments
Patch (18.69 KB, patch)
2019-01-14 21:27 PST, zalan
no flags
zalan
Comment 1 2019-01-14 21:27:19 PST
WebKit Commit Bot
Comment 2 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>
WebKit Commit Bot
Comment 3 2019-01-15 06:49:02 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4 2019-01-15 06:49:28 PST
Note You need to log in before you can comment on or make changes to this bug.