Example #1
0
 /// <summary>
 /// Creates a new document node.
 /// </summary>
 internal Document()
 {
     _owner          = this;
     _type           = NodeType.Document;
     Async           = true;
     _referrer       = string.Empty;
     _ready          = Readiness.Complete;
     _name           = "#document";
     _implementation = new DOMImplementation();
     _styleSheets    = new StyleSheetList();
     _quirksMode     = QuirksMode.Off;
 }
Example #2
0
 /// <summary>
 /// Creates a new document node.
 /// </summary>
 internal Document()
 {
     _owner       = this;
     _type        = NodeType.Document;
     Async        = true;
     _referrer    = string.Empty;
     _ready       = Readiness.Complete;
     _name        = "#document";
     _styleSheets = new StyleSheetList(this);
     _quirksMode  = QuirksMode.Off;
     _location    = new Location("file://localhost/");
     _options     = Configuration.Default;
 }