mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move matching logic of :-moz-table-border-nonzero and :-moz-browser-frame into individual binding functions.
This commit is contained in:
parent
911f174b70
commit
e57b6c65a0
2 changed files with 11 additions and 11 deletions
|
@ -54,7 +54,6 @@ use gecko_bindings::structs::RawServoSelectorList;
|
|||
use gecko_bindings::structs::RawServoSourceSizeList;
|
||||
use gecko_bindings::structs::RefPtr;
|
||||
use gecko_bindings::structs::RustString;
|
||||
use gecko_bindings::structs::CSSPseudoClassType;
|
||||
use gecko_bindings::structs::CSSPseudoElementType;
|
||||
use gecko_bindings::structs::ServoTraversalFlags;
|
||||
use gecko_bindings::structs::ComputedTimingFunction_BeforeFlag;
|
||||
|
@ -627,12 +626,6 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_IsRootElement(element: RawGeckoElementBorrowed) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_MatchesElement(
|
||||
type_: CSSPseudoClassType,
|
||||
element: RawGeckoElementBorrowed,
|
||||
) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_MatchLang(
|
||||
element: RawGeckoElementBorrowed,
|
||||
|
@ -647,6 +640,12 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_GetDocumentLWTheme(aDocument: *const nsIDocument) -> nsIDocument_DocumentTheme;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_IsTableBorderNonzero(element: RawGeckoElementBorrowed) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_IsBrowserFrame(element: RawGeckoElementBorrowed) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AtomAttrValue(
|
||||
element: RawGeckoElementBorrowed,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue