Bug 187168 - [LFC] Out-of-flow positioned height does not necessarily equal to "bottom - top".
Summary: [LFC] Out-of-flow positioned height does not necessarily equal to "bottom - t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-06-28 19:24 PDT by zalan
Modified: 2018-06-28 20:46 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.00 KB, patch)
2018-06-28 19:36 PDT, zalan
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>