Open Bug 747889 Opened 13 years ago Updated 2 years ago

Properly support queryCommandValue("fontsize")

Categories

(Core :: DOM: Editor, enhancement)

enhancement

Tracking

()

People

(Reporter: ayg, Unassigned)

References

Details

queryCommandValue("fontsize") currently looks only for <font size>, ignoring CSS.  My patches for bug 480647 add support for CSS to execCommand("fontsize"), but queryCommandValue() is extra work that I haven't done for now.  The spec says to basically take the CSS computed value and map that to the closest legacy font size, which is based on what WebKit does:

http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#legacy-font-size-for
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.