[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 132368] [regression] erratic/incorrect behaviour on :hover
From:       Allan Sandfeld <kde () carewolf ! com>
Date:       2006-09-29 14:42:20
Message-ID: 20060929144220.6694.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=132368         




------- Additional Comments From kde carewolf com  2006-09-29 16:42 -------
Okay okay. I just like writing it that way because it sounds so non-sensitical ;)

The point is CSS has inherited and non-inherited properties. When we restyle an \
element and a inherited attribute change we restyle all the children. (NodeImpl::diff \
and ElementImpl:recalcStyle)

Now non-inherited properties can be set to value "inherit". In this test-case the \
background-color is inherited. When the parent element change background-color we \
don't restyle the children because no inherited property was changed. 

This patch catches all cases value "inherit" on non-inherited properties and sets a \
flag so we restyle the element when a non-inherited property change in the parent.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic