diff --git a/index.bs b/index.bs index e5ef03b..32f3b4b 100644 --- a/index.bs +++ b/index.bs @@ -1159,7 +1159,37 @@ Amend the definition of create +and initialize a Document object to take the initiator origin as a new parameter: + +> Monkeypatching [[HTML]]: +> +>
Amend the create
+ Amend create
+and initialize a Document object to take the initiator origin as a new parameter: Monkeypatching [HTML]: and pass the initiator origin as an argument wherever it is called, specifically through the load an HTML
+document steps and the Load a
+document steps: Monkeypatching [HTML]: and amend the create
and initialize a Document object steps by adding the following steps before returning document: Monkeypatching [HTML]:
+
+
+
+
+
+
+
and set document’s text directive user activation to false.text directive user activation
If the navigationParam’s user involvement is "browser UI
", set allow text fragment scroll to true and abort these sub-steps.
If navigationParam’s user involvement is "browser UI
", set allow text fragment scroll to true and abort these sub-steps.
If a navigation originates from browser UI, it’s always ok to allow it since it’ll be user triggered and the page/script isn’t providing the @@ -2008,7 +2028,7 @@
If the navigationParam’s request has a sec-fetch-site header and its value is "same-origin"
set allow text fragment scroll to true and abort these
+
If navigationParam’s origin is same origin with initiatorOrigin set allow text fragment scroll to true and abort these sub-steps.
If document’s browsing context is a top-level browsing
@@ -3044,6 +3064,7 @@ multiple