[wp-trac] [WordPress Trac] #19624: Incorrect font size in tag cloud on decimal comma locales

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 20 22:46:01 UTC 2011


#19624: Incorrect font size in tag cloud on decimal comma locales
----------------------------+-----------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  3.4
Component:  Taxonomy        |    Version:
 Severity:  normal          |   Keywords:  has-patch
----------------------------+-----------------------
 On
 [http://en.wikipedia.org/wiki/Decimal_mark#Countries_using_Arabic_numerals_with_decimal_comma
 some PHP locales], comma is used as a decimal separator.

 This creates incorrect font sizes in tag cloud (e.g. the one on Install
 Plugins screen). See the screenshot.

 Browser fails to handle `font-size` attributes with commas properly, as
 CSS specification only supports decimal point as a separator:
 http://www.w3.org/TR/CSS21/syndata.html#length-units

 To reproduce, add this to `wp-config.php`:
 {{{
 setlocale(LC_ALL, 'fr_FR');
 }}}

 Related: #18460, #19593

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19624>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list