Bug 193617 - [LFC][BFC] <body>'s overflow property value is propagated to viewport
Summary: [LFC][BFC] <body>'s overflow property value is propagated to viewport
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: 2019-01-19 23:11 PST by zalan
Modified: 2019-01-20 11:18 PST (History)
5 users (show)

See Also:


Attachments
Patch (4.74 KB, patch)
2019-01-19 23:19 PST, zalan
no flags Details | Formatted Diff | Diff
Patch (4.86 KB, patch)
2019-01-20 09:41 PST, 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 2019-01-19 23:11:21 PST
When the root element is an HTML "HTML" element or an XHTML "html" element, and that element has an HTML "BODY" element or an XHTML "body" element as a child, user agents must instead apply the 'overflow' property from the first such child element to the viewport, if the value on the root element is 'visible'. The 'visible' value when used for the viewport must be interpreted as 'auto'. The element from which the value is propagated must have a used value for 'overflow' of 'visible'
Comment 1 zalan 2019-01-19 23:19:06 PST
Created attachment 359633 [details]
Patch
Comment 2 zalan 2019-01-19 23:20:16 PST
When this happens the body does not establish a BFC anymore.
Comment 3 zalan 2019-01-20 09:41:13 PST
Created attachment 359639 [details]
Patch
Comment 4 zalan 2019-01-20 11:17:48 PST
Committed r240213: <https://trac.webkit.org/changeset/240213>
Comment 5 Radar WebKit Bug Importer 2019-01-20 11:18:28 PST
<rdar://problem/47416487>