Option element seems to ignore "display: list-item" style
Reported by
leose...@rambler.ru,
Oct 20
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 Example URL: Steps to reproduce the problem: 1. Go to http://jsfiddle.net/wcxmLk5f/ 2. Click at <select> element What is the expected behavior? <option> elements should be displayed as list items. What went wrong? <option> elements are not affected by "display: list-item" style. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? N/A Chrome version: 67.0.3396.87 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version:
,
Oct 25
,
Oct 26
This is working as intended. The rendering of <option> elements cannot be changed, they only allow text content. https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element |
|||
►
Sign in to add a comment |
|||
Comment 1 by phanindra.mandapaka@chromium.org
, Oct 21