Background:inherit doesn't reset the background color

Once the background-color is set on an element, subsequent 'background:inherit' rules (even those matching selectors of higher weight) can't cause the element to inherit the color from its parent.

Test page Workaround is not included
Reported by: Pierre Saslawsky.

Explorer 5-6 Windows, Explorer 7, Safari | Reported on 22 November 2005.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.

Search reports by browser:

Atom RSS


(Add your own)

1 Posted by Mark Rowe on 9 January 2007 | Permalink

This was fixed in WebKit in r18702. Any nightly builds newer than that revision will function correctly.