WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 5 months ago

#29652 new defect (bug)

Dashicons conflict with text-rendering: optimizeLegibility

Reported by: wpweaver Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: General Keywords:
Focuses: ui Cc:
PR Number:

Description

There is a little known problem using Dashicons with Android 4.2 and 4.3, and perhaps the later versions.

If any plugin or theme includes this CSS rule:

text-rendering: optimizeLegibility;

then Dashicons (and other icon fonts like genericons) do not display at all on those Android devices.

Twenty Twelve has this, and it should be removed. There should be a comment about this problem in at least the core dashicons.css file.

This is not a well-known problem, and is obviously very embarrassing. It is next to impossible for any WP developer to test, but there are still a huge number of Android 4.2+ devices.

Change History (4)

#1 @SergeyBiryukov
5 years ago

  • Focuses ui added

#2 @SergeyBiryukov
5 years ago

  • Summary changed from DashIcons to Dashicons conflict with text-rendering: optimizeLegibility

#3 @DrewAPicture
5 years ago

  • Keywords ui-feedback added

Has anybody been able to reproduce this problem on Android 4.2-4.4?

#4 @helen
5 years ago

  • Keywords ui-feedback removed

This is noted in the Genericons readme (which is not Dashicons), so it seems this is a known problem, at least. I don't know about removing it from Twenty Twelve, but it seems to me that if we want to fix this we should account for it in the toolbar CSS or Dashicons CSS (or both).

Note: See TracTickets for help on using tickets.