[fedora-websites] #246: fedora.css sets a universal scaling factor of 76%, which is much too small

fedora-websites trac at fedorahosted.org
Sat Jan 18 09:35:41 UTC 2014


#246: fedora.css sets a universal scaling factor of 76%, which is much too small
---------------------------+------------------------
 Reporter:  adamwill       |       Owner:  webmaster
     Type:  defect         |      Status:  new
 Priority:  major          |   Milestone:
Component:  General        |  Resolution:
 Keywords:  css font size  |  Blocked By:
 Blocking:                 |
---------------------------+------------------------

Comment (by mrmazda):

 I think you got it right in comment 0 Adam.
 https://bugzilla.redhat.com/show_bug.cgi?id=141361 is probably where I
 started bringing it up in a formal Fedora context, back when you were
 still with Mandrake. I filed
 https://bugzilla.redhat.com/show_bug.cgi?id=974780 too, which was
 wontfixed, plus https://bugzilla.redhat.com/show_bug.cgi?id=638726 that
 remains open.

 12px is only 9pt if the display density is in fact 96 DPI. On a 133 DPI
 laptop (17" 1920x1200), 12px shrinks to 6.5pt.

 Back before that 2005 article referenced, in 2003, in
 http://www.w3.org/2003/07/30-font-size the standards body responsible for
 CSS, W3C, published "Do not specify the font-size in pt, or other absolute
 length units." According to http://dev.w3.org/csswg/css-values/#absolute-
 lengths the px unit is an absolute unit, the unit used to set the base
 size on body (and elsewhere) in https://fedorahosted.org/fedora-
 websites/chrome/common/css/trac.css used on this very trac page.

 The same 2003 doc also says "Avoid sizes in em smaller than 1em for text
 body". Yet, fedora.css is setting a smaller than 1em ''base'' size, based
 upon the 1em size inherited from HTML, which gets its size from the
 visitor's browser default size. Lest any reader here be unaware, the 76%
 "size" set in fedora.css is a nominal size only. Real size is a function
 of area, which is what any size seen by a human on a web page sees. That
 76% nominal size actually works out to the square of 76%, or 57.76%, not a
 whole lot bigger than half size, as http://fm.no-ip.com/Auth/area76.html
 demonstrates.

 Styling like in fedora.css and trac.css is little different from that used
 by the vast majority of web sites. That it is the case that it amounts to
 a standard practice doesn't justify it. It's rude. It countermands every
 personal computing device's innate ability to obey the needs of its user
 as established by personalizable font size settings in whatever
 application(s) present a Fedora web page for viewing and use.

-- 
Ticket URL: <https://fedorahosted.org/fedora-websites/ticket/246#comment:2>
fedora-websites <https://fedoraproject.org/wiki/Websites>
Fedora Website Team's Trac instance


More information about the websites mailing list