special words used inside the opening tag of an HTML element to control the element's behaviour
HTML Standard
html.spec.whatwg.org →8. 3.2.8 Requirements relating to the bidirectional algorithm 1. 3.2.8.1 Authoring conformance criteria for bidirectional-algorithm formatting characters The Document object's URL is defined in DOM. It is initially set when the Document object is created, but can change during the lifetime of the Document object; for example, it changes when the user navigates to a fragment on the page and when the pushState() method is called with a new URL . [[DOM]]( Interactive user agents typically expose the Document object's URL in their user interface. This is the primary mechanism by which a user can tell if a site is attempting to impersonate another. // DOM tree accessors getter object (DOMString name); [CEReactions] attribute DOMString title; [CEReactions] attribute DOMString dir; [CEReactions] attribute HTMLElement? body; readonly attribute HTMLHeadElement? head; [SameObject] readonly attribute HTMLCollection images; [SameObject] readonly attribute HTMLCollection embeds; [SameObject] readonly attribute HTMLCollection plugins; [SameObject] readonly attribute HTMLCollection links; [SameObject] readonly attribute HTMLCollection forms; [SameObject] readonly attribute HTMLCollection scripts; NodeList getElementsByName(DOMString elementName); readonly attribute HTMLOrSVGScriptElement? currentScript; // classic scripts in a document tree only // dynamic markup insertion [CEReactions] Document open(optional DOMString unused1, optional DOMString unused2); // both arguments are ignored WindowProxy? open(USVString url, DOMString name, DOMString features); [CEReactions] undefined close(); [CEReactions] undefined write((TrustedHTML or DOMString)... text); [CEReactions] undefined writeln((TrustedHTML or DOMString)... text); // user interaction readonly attribute WindowProxy? defaultView; boolean hasFocus(); [CEReactions] attribute DOMString designMode; [CEReactions] boolean execCommand(DOMString commandId, optional boolean showUI = false, optional DOMString value = ""); boolean queryCommandEnabled(DOMString commandId); boolean queryCommandIndeterm(DOMString commandId); boolean queryCommandState(DOMString commandId); boolean queryCommandSupported(DOMString commandId); DOMString queryCommandValue(DOMString commandId); readonly attribute boolean hidden; readonly attribute DocumentVisibilityState visibilityState; Each Document has a policy container (a policy container ), initially a new policy container, which contains policies which apply to the Document . As the name indicates, this is used for interfacing with the WebDriver BiDi specification, which needs to be informed about certain occurrences during the early parts of the Document 's lifecycle, in a way that ties them to the original navigation ID used when the navigation that created this Document was the ongoing navigation . This eventually gets set back to null, after WebDriver BiDi considers the loading process to be finished. [[BIDI]]( Each Document has an open dialogs list, which is a list of dialog elements, initially empty. A Document object has an associated internal ancestor origin objects list, initially null. Setting masked to false here doesn't imply that all further ancestors' origins are necessarily exposed. They might have been previously masked when an ancestor document ran these steps, and the resulting list is used as a starting point when a child document is created (see step 5 above). If we consider the previous example but the iframe element in the top document has no referrerpolicy attribute, and instead the iframe element in the child document has referrerpolicy="no-referrer" . In this example, we show that the top-level document's origin is not masked even though there's a descendant same-origin document whose origin is masked, since there's a cross-origin document in between. Returns the URL of the Document from which the user navigated to this one, unless it was blocked or there was no such document, in which case it returns the empty string. If the la
Excerpt from a page describing this subject · 40,000 chars · not written by Vinony
via Wikidata · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).