[Webkit-unassigned] [Bug 21033] QueryCommandValue('FontSize') returns pixel values instead of IE font numbers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 30 16:24:30 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=21033
------- Comment #9 from eric at webkit.org 2009-03-30 16:24 PDT -------
FontDescription optionally stores an m_keywordSize, which is exactly the size
we'd want here.
But we'd have to plumb trough a method like:
String Frame::selectionStartStylePropertyValue(int stylePropertyID) const
which returned a FontDescription or an int keywordSize.
To calculate the keywordSize from the FontDescription, we'd have to test to see
if it's cached first, if it's not cached on the FontDescription, then we'd have
to approximate it based on the font size. The logic to approximate it may
depend on quirks vs. standards mode, and may be rather complicated, I don't
know.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list