[Webkit-unassigned] [Bug 236352] New: date input gains whitespace with display: block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 00:39:59 PST 2022


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

            Bug ID: 236352
           Summary: date input gains whitespace with display: block
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: srspam+webkitbugzilla at icloud.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

A date/datetime input's shadow DOM elements gain mysterious vertical whitespace when the input element has a `display` of `block` or `inline-block`.

This is shown via date[time] inputs that are styled via Bootstrap, for example: https://github.com/twbs/bootstrap/issues/34433

Very minimal reproduction to demonstrate the issue:

```
      <input type="date" style="border: 1px black solid" />
      <input type="date" style="display:block; border: 1px black solid"  />
```

-- 
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/20220209/adf43b16/attachment.htm>


More information about the webkit-unassigned mailing list