Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
Seven theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2010 at 19:00 UTC
Updated:
4 Oct 2010 at 02:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
grendzy commentedgood catch.
Comment #2
mertskeli commentedIf a font name contains white-space, it must be quoted.
So, the correct one is:
font: normal 81.3%/1.538em "Lucida Grande", "Lucida Sans Unicode", sans-serif;
(That was the reason for "normal Lucida Grande" behavior.
normal "Lucida Grande" would work correctly even if "normal" placed after font-size.
It is not the correct w3c order, but it works well because the other font properties have "normal" as the default values. Browsers recognise it and use it properly.)
Comment #3
jbrown commentedComment #4
markabur commentedActually that causes a parsing error in Firefox (using quotes with the wrong order). Safari's a little more lenient. In any case, revised patch is attached with correct ordering *and* quotes. Thanks!
Comment #5
mertskeli commentedI mainly spoke about IE. Although my FF3 (which I use as a secondary browser) did not show any errors... Ok, every browser is different, and of course it is always better to stick to standards.
Thanks. A good and useful UI bug catch.
Comment #7
markabur commented#4: seven-font-fix-2.patch queued for re-testing.
Comment #9
markabur commentedHm, 2x "FAILED: [[SimpleTest]]: [MySQL] Setup environment: failed to drop checkout database." -- is this a problem with the patch, or with the testbot?
Comment #10
markabur commented#4: seven-font-fix-2.patch queued for re-testing.
Comment #11
bleen commentedGreen means go ...
Comment #12
dries commentedCommitted to CVS HEAD. Thanks.