From 32618d015d77b330fa9b5044c05213c9f0558434 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Fri, 15 Dec 2023 15:52:38 +0000 Subject: [PATCH] updates --- source | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/source b/source index 93874e939c7..550bb3e1f58 100644 --- a/source +++ b/source @@ -25859,7 +25859,7 @@ document.body.appendChild(wbr); expect - Hyperlink + Hyperlink not allowed · · @@ -26337,8 +26337,9 @@ document.body.appendChild(wbr);

There is no default type for resources given by the expect keyword.

-

To process expect link el: If all of the - following are true:

+

To process expect link el:

+ +

If all of the following are true:

To resolve expect links given a Document doc and steps, which is an algorithm that takes a - link element and returns a boolean: For each element in - doc's render-blocking element set: If element is a - link element whose rel attribute is expect, run steps given element. If that returned - true, unblock rendering on element.

+ link element and returns a boolean:

To unblock on all expected elements given a Document doc, resolve expect links given doc and true.

-

To potentially unblock on expected element el: If el's ID is set, then resolve expect links given el's - node document and the following steps given link element - link:

+

To potentially unblock on expected element el: For each link element link in + doc's render-blocking element set:

    -
  1. Let expectedURL be the result of parsing - link's href attribute.

  2. +
  3. If link's rel attribute is not expect, return.

  4. + +
  5. If el is the document element, then + unblock rendering on link and return.

    + +
  6. Let expectedURL be the result of parsing + link's href attribute.

  7. -
  8. Assert: expectedURL equals - link's node document's URL - with exclude fragments set to true.

  9. +
  10. Assert: expectedURL equals + link's node document's URL + with exclude fragments set to true.

  11. -
  12. Return true if expectedURL's fragment is el's ID, otherwise false.

  13. +
  14. If expectedURL's fragment is el's ID, then unblock rendering on link.

When any element el is browsing-context connected, if el is