Open
Bug 747879
Opened 13 years ago
Updated 2 years ago
Parse execCommand("fontSize") param per spec
Categories
(Core :: DOM: Editor, enhancement)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: ayg, Unassigned)
References
Details
As part of my work on bug 480647, I wrote a patch that rejects invalid execCommand("fontSize") values. The editing spec says to reject anything that doesn't look like a float, so execCommand("fontSize", false, "1.2em") should do nothing -- this matches IE. My current patch parses it as execCommand("fontSize", false, "1") -- this matches WebKit, and (effectively) previous Gecko behavior. This isn't really important and it would be mildly annoying to fix, so I'm punting it to a followup bug.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•