[Webkit-unassigned] [Bug 24855] Font size cannot be "Normal" when user "Courier New" in Gmail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 28 11:58:45 PDT 2009


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





--- Comment #9 from Eric Seidel <eric at webkit.org>  2009-07-28 11:58:44 PDT ---
When I do a simple example in plexode, I don't notice anything that looks like
a bug:

http://www.plexode.com/cgi-bin/eval3.py#ht=%3Cdiv%20id%3D%22foo%22%20contentEditable%20style%3D%22font-family%3A%20courier%20new%22%3Etest%3C%2Fdiv%3E&ohh=1&ohj=1&jt=getSelection().selectAllChildren(foo)%0Adocument.queryCommandValue('FontSize')&ojh=1&ojj=0&ms=100&oth=0&otj=0&cex=1

But when I use "courier new, monospace" instead of just "courier new", then I
get 12px, which is presumably why gmail is failing.

http://www.plexode.com/cgi-bin/eval3.py#ht=%3Cdiv%20id%3D%22foo%22%20contentEditable%20style%3D%22font-family%3A%20courier%20new%2C%20monospace%22%3Etest%3C%2Fdiv%3E&ohh=1&ohj=0&jt=getSelection().selectAllChildren(foo)%0Adocument.queryCommandValue('FontSize')&ojh=1&ojj=0&ms=100&oth=0&otj=0&cex=1

gmail could fix this by not sending "monospace" to WebKit.

With that hypothesis, this becomes a dupe of:
https://bugs.webkit.org/show_bug.cgi?id=19161

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list