[Webkit-unassigned] [Bug 236108] line-height: 1px on <input type=search> is not reflected in getComputedStyle()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 4 00:47:25 PST 2022


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

--- Comment #1 from Simon Pieters (:zcorpan) <simon at bocoup.com> ---
dholbert pointed out that the test was incorrect, since getComputedStyle returns the resolved value, which for line-height will be the used value. So the used value should be something like 16px (depending on font metrics). I've now fixed the test.

I also tested computedStyleMap() although it seems it is not yet supported in WebKit. (https://bugs.webkit.org/show_bug.cgi?id=175733)

This bug thus applies to all text entry widgets, although <input type=search> is different from the others and returns 'normal'.

-- 
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/20220204/ffbf58f9/attachment-0001.htm>


More information about the webkit-unassigned mailing list