[Webkit-unassigned] [Bug 217378] New: CSS's `display: initial; ` causes `<div>` to render as `display: inline; `. Should be `display: block; `

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 6 04:59:31 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=217378

            Bug ID: 217378
           Summary: CSS's `display: initial;` causes `<div>` to render as
                    `display: inline;`. Should be `display: block;`
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mike at herchel.com

When using `display: initial` on a DIV element, it causes the element to render as inline, when it should be rendering as block. 

This also happens when using the `all: initial` reset. (https://developer.mozilla.org/en-US/docs/Web/CSS/all)

https://drafts.csswg.org/css-cascade/#initial-value

-- 
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/20201006/0ce55428/attachment.htm>


More information about the webkit-unassigned mailing list