Bug 187168

Summary: [LFC] Out-of-flow positioned height does not necessarily equal to "bottom - top".
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

Description zalan 2018-06-28 19:24:27 PDT
While it sounds odd, according to the spec the following constraint needs to be satisfied:
'top' + 'margin-top' + 'border-top-width' + 'padding-top' + 'height' + 'padding-bottom' + 'border-bottom-width' + 'margin-bottom' + 'bottom' = height of containing block
Comment 1 zalan 2018-06-28 19:36:17 PDT
Created attachment 343888 [details]
Patch
Comment 2 zalan 2018-06-28 20:45:55 PDT
Committed r233348: <https://trac.webkit.org/changeset/233348>
Comment 3 Radar WebKit Bug Importer 2018-06-28 20:46:27 PDT
<rdar://problem/41616586>