mirror of
https://github.com/servo/servo.git
synced 2025-10-07 20:19:21 +01:00
Make some DOM members private.
I have not reviewed if this is the complete set of members that can be made private.
This commit is contained in:
parent
9f915e9e42
commit
bba9e58df1
19 changed files with 61 additions and 61 deletions
|
@ -61,15 +61,15 @@ pub enum IsHTMLDocument {
|
|||
#[deriving(Encodable)]
|
||||
pub struct Document {
|
||||
pub node: Node,
|
||||
pub reflector_: Reflector,
|
||||
reflector_: Reflector,
|
||||
pub window: JS<Window>,
|
||||
idmap: Traceable<RefCell<HashMap<DOMString, Vec<JS<Element>>>>>,
|
||||
pub implementation: Cell<Option<JS<DOMImplementation>>>,
|
||||
pub content_type: DOMString,
|
||||
implementation: Cell<Option<JS<DOMImplementation>>>,
|
||||
content_type: DOMString,
|
||||
pub encoding_name: Traceable<RefCell<DOMString>>,
|
||||
pub is_html_document: bool,
|
||||
pub url: Untraceable<Url>,
|
||||
pub quirks_mode: Untraceable<Cell<QuirksMode>>,
|
||||
url: Untraceable<Url>,
|
||||
quirks_mode: Untraceable<Cell<QuirksMode>>,
|
||||
}
|
||||
|
||||
impl DocumentDerived for EventTarget {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue