зеркало из https://github.com/mozilla/gecko-dev.git
449d4bf816
This also fixes some other bits, like mAdoptedStyleSheets.ElementAt(0) (which really should be "the first applicable adopted stylesheet") and so on. Added a test for that. The new invariant also implies that a DocumentOrShadowRoot can't appear twice in StyleSheet::mAdopters. Also clears adopted stylesheets in Document::ResetStylesheetsToURI, as it's the right thing to do (if you hit that code path with constructable sheets you'd end up asserting, as we'd call FillStyleSetDocumentSheets after and find sheets in there). I don't quite have a test-case for that though. Differential Revision: https://phabricator.services.mozilla.com/D64151 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
InspectorFontFace.cpp | ||
InspectorFontFace.h | ||
InspectorUtils.cpp | ||
InspectorUtils.h | ||
ServoStyleRuleMap.cpp | ||
ServoStyleRuleMap.h | ||
inDeepTreeWalker.cpp | ||
inDeepTreeWalker.h | ||
inIDeepTreeWalker.idl | ||
inLayoutUtils.cpp | ||
inLayoutUtils.h | ||
moz.build |