[Bug 14251] New: Stop allowing non-numeric values for fontSize

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14251

           Summary: Stop allowing non-numeric values for fontSize
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Editing APIs
        AssignedTo: ayg@aryeh.name
        ReportedBy: ayg@aryeh.name
         QAContact: sideshowbarker+html-editing-api@gmail.com
                CC: mike@w3.org, public-webapps@w3.org


fontSize is a mess.  Its values are only 1-7, and there's no way for us to fix
that.  I currently try to allow other types of values, like pixel sizes and
whatever, but it fails in various cases, and doesn't work with
queryCommandValue().  I should allow only 1-7, like browsers do.  If we want
saner font sizing, we should introduce a new command that takes pt instead.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 22 September 2011 18:59:51 UTC