mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Don't persist styles on elements not in the document.
This commit is contained in:
parent
b5f3d7dd41
commit
be1a73dac5
5 changed files with 24 additions and 4 deletions
|
@ -267,6 +267,9 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_NodeIsElement(node: RawGeckoNodeBorrowed) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_IsInDocument(node: RawGeckoNodeBorrowed) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetParentNode(node: RawGeckoNodeBorrowed)
|
||||
-> RawGeckoNodeBorrowedOrNull;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue