HTML - Browsing context (Environment)


A browsing context 1) is a navigational context (environment) in which HTML document are rendered to the user.

Each browsing context has:

  • its own variable
  • its own cookie
  • its own dom and eventually a parent

A top level browsing context is a dom document that has no parent.


The following element contains a browsing context


The context are formed in a hierarchical way.

For instance, an iframe can be rendered:

If a svg is embedded in a video element, the SVG dom does not see any parent

Powered by ComboStrap