[Webkit-unassigned] [Bug 256538] New: <option> do not render when <datalist> has style:"display: block"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 9 11:37:44 PDT 2023


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

            Bug ID: 256538
           Summary: <option> do not render when <datalist> has
                    style:"display: block"
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Lordfate at hotmail.com

If you create a simple datalist and set style: "display:block" you get a blank page and <option> elements are not rendered:

https://jsfiddle.net/b6y3qrLz/

<div>
  <datalist style="display: block">
    <option>First Option</option>
    <option>Second option</option>
    <option>Third option</option>
  </datalist>
</div>

WebKit/Safari/WKWebView result:
Nothing

Chrome, Android WebView (Chromium), Edge, Firefox, Electron result:
First Option
Second option
Third option

This issue is distinct from 252038 as my implementation does not include an <input> element at all. Including <input> does not alter the behavior.

-- 
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/20230509/583e6ee3/attachment.htm>


More information about the webkit-unassigned mailing list