Open Bug 507992 Opened 16 years ago Updated 3 years ago

Deleting the link attribute doesn't change the colour of links

Categories

(Core :: Layout, enhancement)

enhancement

Tracking

()

People

(Reporter: neil, Unassigned)

References

()

Details

While altering or creating the link attribute on the body element changes the colour of links, deleting it does not. I imagine this breaks serialisation as after saving and loading the link colour would revert to user's default. It would appear that we've never supported this as I tried it in Mozilla 1.6.
This is the mess of nsHTMLStyleSheet's interaction with nsHTMLBodyElement. Probably we'd need to add an UnsetLinkColor, etc., to nsHTMLStyleSheet and make nsHTMLBodyElement call them.
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.