mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
23751c9400
This patch adds an aFollowLabels argument to nsIEventStateManager::GetContentState which defaults to false. Setting it to true will return NS_EVENT_STATE_HOVER / _ACTIVE for labeled controls even if only their label is subject to this state. At the moment this flag is only set by native theming, so there won't be an observable change for the :hover / :active pseudoclasses. In order to make dynamic state changes on the label work, SetContentState will now always notify the labeled control of state changes when its label changes state. r=smaug |
||
---|---|---|
.. | ||
crashtests | ||
public | ||
src | ||
test | ||
Makefile.in |