[Webkit-unassigned] [Bug 245927] font-size treats <number> as pixels in standard mode when previously specified on SVG/MathML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 2 19:31:37 PDT 2022


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

--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
All of them shows in the developer tools/inspector as invalid. 
but both WebKit and Blink show an actual scaled rendered font. 

For example, the last span

window.getComputedStyle(document.getElementsByTagName('div')[2].getElementsByTagName('span')[3]).fontSize

WebKit: 33.333328px 
Gecko: 100px
Blink: 33.3333px


window.getComputedStyle(document.getElementsByTagName('div')[2].getElementsByTagName('span')[1]).fontSize

The second span of the second div is even funnier
<span style="font-size: 50">50</span>

WebKit: 100px 
Gecko: 100px
Blink: 100px


So it's not consistent.

-- 
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/20221003/82f5458b/attachment-0001.htm>


More information about the webkit-unassigned mailing list