W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 22 Sep 2011 18:59:49 +0000
To: public-webapps@w3.org
Message-ID: <bug-14251-2927@http.www.w3.org/Bugs/Public/>

           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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:24 UTC