[Webkit-unassigned] [Bug 190580] New: display:unset does not stop an element from creating a new formatting context.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 15 08:21:26 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=190580
Bug ID: 190580
Summary: display:unset does not stop an element from creating a
new formatting context.
Product: WebKit
Version: Safari 12
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dan at flarework.com
Created attachment 352321
--> https://bugs.webkit.org/attachment.cgi?id=352321&action=review
testcase
The `display: unset` rule should stop any element where it is applied from creating a new containing block.
This bug was found by nesting a position sticky inside a plain div with a single `display:unset` rule.
Expected behaviour - the sticky element should take its containing block from body (being the closest block formatting context)
Actual behaviour - The sticky element takes its containing block from the parent div
Steps to reproduce: scroll down and observe that sticky element does not stick.
Works as expected in most recent Firefox and Chrome.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181015/75395f74/attachment.html>
More information about the webkit-unassigned
mailing list