Could someone please tell me whether this is a bug?
In a recent Mozilla nightly trunk build, at least, Mozilla does not allow a pseudoclass property like ":active color" to inherit to an inline descendant like cite.
Here's the demo page:
http://www.andrewhagen.com/bug.html
Thanks for any help.
layout bug?
- laszlo
- Posts: 5225
- Joined: November 4th, 2002, 6:13 pm
- Location: .de
- Contact:
Since you asked for "any help", here's what I think.
AFAIK inheritance of a property doesn't necessarily depend on the element it's assigned to being inline or block level, but must be explicitly set if the initial value is defined differently by the specification.
The initial value of the color property is interestingly "depends on user agent", which probably means that this is not a bug, but can be discussed nevertheless.
AFAIK inheritance of a property doesn't necessarily depend on the element it's assigned to being inline or block level, but must be explicitly set if the initial value is defined differently by the specification.
The initial value of the color property is interestingly "depends on user agent", which probably means that this is not a bug, but can be discussed nevertheless.
- xah
- Posts: 306
- Joined: November 8th, 2002, 6:17 pm
interesting
Thanks for your help. That's very interesting. I tried setting the cite tag to color: inherit, but that doesn't work, either. Maybe there is just no way to do that.
- laszlo
- Posts: 5225
- Joined: November 4th, 2002, 6:13 pm
- Location: .de
- Contact:
Hmm... explicitly setting it to inherit should work in my opinion, as long as the cite element is a direct descendant of the anchor, since inherit is an allowed value for the color property. I think this would qualify as a bug. Maybe pseudo-classes like :active are special in this case, though I don't know why they should be; have you tried without?
- xah
- Posts: 306
- Joined: November 8th, 2002, 6:17 pm
filed bug
Filed this bug on the issue:
http://bugzilla.mozilla.org/show_bug.cgi?id=183661
Thanks again for your help.
http://bugzilla.mozilla.org/show_bug.cgi?id=183661
Thanks again for your help.