[Webkit-unassigned] [Bug 186714] [Datalist][iOS] Add suggestions UI for TextFieldInputTypes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 19:41:49 PDT 2018


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

--- Comment #14 from Wenson Hsieh <wenson_hsieh at apple.com> ---
Comment on attachment 348221
  --> https://bugs.webkit.org/attachment.cgi?id=348221
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=348221&action=review

>> Source/WebCore/html/TextFieldInputType.cpp:267
>> +            m_dataListDropdownIndicator->setInlineStyleProperty(CSSPropertyDisplay, suggestions().size() ? CSSValueBlock : CSSValueNone, true);
> 
> Why all this inline style instead of selectors in the UA stylesheet?

I thought the same thing, but didn't see a way to accomplish this without also showing the dropdown indicator when suggestions() is empty.

-- 
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/20180828/791d6398/attachment.html>


More information about the webkit-unassigned mailing list