зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1348489 - stylo: Implement :-moz-window-inactive. r=emilio
MozReview-Commit-ID: Ga68eqQQoxN --HG-- extra : rebase_source : 72f0c1f1d883fd487437e0755b03c79e5de923ac
This commit is contained in:
Родитель
be85bb2045
Коммит
befea242af
|
@ -247,6 +247,12 @@ Gecko_ElementState(RawGeckoElementBorrowed aElement)
|
|||
return aElement->StyleState().ServoValue();
|
||||
}
|
||||
|
||||
EventStates::ServoType
|
||||
Gecko_DocumentState(const nsIDocument* aDocument)
|
||||
{
|
||||
return aDocument->ThreadSafeGetDocumentState().ServoValue();
|
||||
}
|
||||
|
||||
bool
|
||||
Gecko_IsTextNode(RawGeckoNodeBorrowed aNode)
|
||||
{
|
||||
|
@ -819,7 +825,7 @@ Gecko_GetXMLLangValue(RawGeckoElementBorrowed aElement)
|
|||
}
|
||||
|
||||
nsIDocument::DocumentTheme
|
||||
Gecko_GetDocumentLWTheme(const nsIDocument *aDocument)
|
||||
Gecko_GetDocumentLWTheme(const nsIDocument* aDocument)
|
||||
{
|
||||
return aDocument->ThreadSafeGetDocumentLWTheme();
|
||||
}
|
||||
|
|
|
@ -154,6 +154,7 @@ void Gecko_LoadStyleSheet(mozilla::css::Loader* loader,
|
|||
|
||||
// Selector Matching.
|
||||
uint64_t Gecko_ElementState(RawGeckoElementBorrowed element);
|
||||
uint64_t Gecko_DocumentState(const nsIDocument* aDocument);
|
||||
bool Gecko_IsTextNode(RawGeckoNodeBorrowed node);
|
||||
bool Gecko_IsRootElement(RawGeckoElementBorrowed element);
|
||||
bool Gecko_MatchesElement(mozilla::CSSPseudoClassType type, RawGeckoElementBorrowed element);
|
||||
|
@ -164,7 +165,7 @@ bool Gecko_MatchLang(RawGeckoElementBorrowed element,
|
|||
nsIAtom* override_lang, bool has_override_lang,
|
||||
const char16_t* value);
|
||||
nsIAtom* Gecko_GetXMLLangValue(RawGeckoElementBorrowed element);
|
||||
nsIDocument::DocumentTheme Gecko_GetDocumentLWTheme(const nsIDocument *aDocument);
|
||||
nsIDocument::DocumentTheme Gecko_GetDocumentLWTheme(const nsIDocument* aDocument);
|
||||
|
||||
// Attributes.
|
||||
#define SERVO_DECLARE_ELEMENT_ATTR_MATCHING_FUNCTIONS(prefix_, implementor_) \
|
||||
|
|
|
@ -78,9 +78,6 @@ to mochitest command.
|
|||
* Unsupported pseudo-elements or anon boxes
|
||||
* :-moz-tree bits bug 1348488
|
||||
* test_selectors.html `:-moz-tree` [10]
|
||||
* Unsupported pseudo-classes
|
||||
* :-moz-window-inactive bug 1348489
|
||||
* test_selectors.html `:-moz-window-inactive` [2]
|
||||
* Unit should be preserved after parsing servo/servo#15346
|
||||
* test_units_time.html [1]
|
||||
* getComputedStyle style doesn't contain custom properties bug 1336891
|
||||
|
|
Загрузка…
Ссылка в новой задаче