color:inherit not working on anchor element
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
People
(Reporter: wdo362, Unassigned)
Details
Comment 1•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 5•7 years ago
|
||
Sorry for being resistant but I want to address this issue once again, as the same strange behavour is now also shown in FF ESR 60 on Windows platform. The HTML snipped I posted above was shown (IMHO) correctly in FF ESR 52 and IE 11 and is now also broken in FF ESR 60.
As I now can use FF dev tools I was able to do some further tests which leads to the following perception:
The content of the <a> element from the example is a unicode symbol (⚫) which no does not inherit its color form the parent element any longer. If I change that to a normal letter like "A" or "B" the color is inherited.
Is this the expected behavour and when why has this changed from ESR 52 to ESR 60 and is also now different from IE11?
THX for you attention.
Just for the record I answer my own question.
It seems that the behavour is caused by a change in Firefox to support latest unicode standards, where unicode characters not necessarily have to be rendered as text. For this reason you have to be very careful when choosing unicode characters as different browsers may handle this differently.
For Firefox a workaround for at least some characters is to append the variation selector 15 to the character code which should force the character to be rendered as text style and as such then honors css color attribute.
A short explanation of the underlying basic can be found here:
| Assignee | ||
Updated•5 years ago
|
Description
•