61
edits
(Mention Quantum CSS / Stylo) |
Freesamael (talk | contribs) (Slightly update the description of docshell) |
||
| Line 25: | Line 25: | ||
In Gecko, the '''docshell''' is the toplevel object responsible for | In Gecko, the '''docshell''' is the toplevel object responsible for | ||
managing a single browsing context. It, and the associated '''session | managing a single browsing context. It, and the associated '''session history''' code, | ||
history''' code, manage the navigation between pages inside of a | manage the navigation between pages inside of a | ||
docshell. (Note the difference between session history, which is a | docshell. (Note the difference between session history, which is a | ||
sequence of pages in a single browser session, used for recording information | sequence of pages in a single browser session, used for recording information | ||
| Line 46: | Line 46: | ||
context (see layout). | context (see layout). | ||
Docshells are organized into a tree. | Docshells are organized into a tree. If a docshell has a non-null parent, then it corresponds to a subframe in whatever page is currently loaded in the parent docshell, and the corresponding subframe element (for example, an iframe) is called a '''browsing context container'''. In order to keep the session history of subframes after the root document has been unloaded, only the root docshell of a docshell tree manages the session history (this does not match the conceptual model in the HTML5 spec and may be subject to change). | ||
* code: mozilla/docshell/ | * code: mozilla/docshell/ | ||
edits