Opened 13 years ago
Closed 12 years ago
#19624 closed defect (bug) (duplicate)
Incorrect font size in tag cloud on decimal comma locales
Reported by: | SergeyBiryukov | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
On 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');
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
#19593