зеркало из https://github.com/mozilla/gecko-dev.git
f11ddd537b
In our current setup, in which links with an href attribute always match either :link or :visited, no matter whether that attribute's value is a valid URI, changes to the attribute always put the element into either the "match nothing" state or the "match :link" state, via calls to Link::ResetLinkState. The only thing FlushPendingLinkUpdates is needed for is (lazily, in case it turns out to not be needed because the element got removed from the DOM anyway) registering a history observer to switch the link state to :visited as needed. This means that selector matching consumers that would never expose :visited state to start with don't need to worry about calling FlushPendingLinkUpdates. |
||
---|---|---|
.. | ||
tests | ||
inCSSValueSearch.cpp | ||
inCSSValueSearch.h | ||
inDOMUtils.cpp | ||
inDOMUtils.h | ||
inDOMView.cpp | ||
inDOMView.h | ||
inDeepTreeWalker.cpp | ||
inDeepTreeWalker.h | ||
inICSSValueSearch.idl | ||
inIDOMUtils.idl | ||
inIDOMView.idl | ||
inIDeepTreeWalker.idl | ||
inISearchObserver.idl | ||
inISearchProcess.idl | ||
inLayoutUtils.cpp | ||
inLayoutUtils.h | ||
moz.build | ||
nsFontFace.cpp | ||
nsFontFace.h | ||
nsFontFaceList.cpp | ||
nsFontFaceList.h | ||
nsIDOMFontFace.idl | ||
nsIDOMFontFaceList.idl |