From 5c4a857f27052465581e02167ce657fb4437dcc9 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 25 Sep 2025 11:35:21 +0100 Subject: [PATCH 1/5] use script's baseurl for cssstylesheets --- source | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source b/source index 9d94eecd6dc..118e8695393 100644 --- a/source +++ b/source @@ -117343,8 +117343,12 @@ document.querySelector("button").addEventListener("click", bound);
  • Set script's parse error and error to rethrow to null.

  • +
  • Let baseUrl be script's base + URL. +

  • Let sheet be the result of running the steps to create a constructed - CSSStyleSheet with an empty dictionary as the argument.

  • + CSSStyleSheet with a dictionary with the following dictionary members: + «[ "baseUrl" → baseUrl

  • Run the steps to synchronously replace the rules of a CSSStyleSheet From f3e56d98ea94cc2100660b2ea274a26e85b2fd45 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 25 Sep 2025 14:41:50 +0100 Subject: [PATCH 2/5] Move capture of baseUrl up a step or two --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index 118e8695393..7b47e3bb910 100644 --- a/source +++ b/source @@ -117337,15 +117337,15 @@ document.querySelector("button").addEventListener("click", bound);

  • Set script's settings object to settings.

  • +
  • Let baseUrl be script's base + URL. +

  • Set script's base URL and fetch options to null.

  • Set script's parse error and error to rethrow to null.

  • -
  • Let baseUrl be script's base - URL. -

  • Let sheet be the result of running the steps to create a constructed CSSStyleSheet with a dictionary with the following dictionary members: «[ "baseUrl" → baseUrl

  • From 86fbf692e922ac7918b1f13367816338fb41cc5f Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 25 Sep 2025 14:42:49 +0100 Subject: [PATCH 3/5] tidy prose for dictionary --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index 7b47e3bb910..3f51905d2db 100644 --- a/source +++ b/source @@ -117347,8 +117347,8 @@ document.querySelector("button").addEventListener("click", bound); error to rethrow to null.

  • Let sheet be the result of running the steps to create a constructed - CSSStyleSheet with a dictionary with the following dictionary members: - «[ "baseUrl" → baseUrl

  • + CSSStyleSheet with a dictionary with: + «[ "baseUrl" → baseUrl ]».

  • Run the steps to synchronously replace the rules of a CSSStyleSheet From 989bc0a2ddf4df19dec3680b8f79d74f3c46a9c9 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 25 Sep 2025 14:47:19 +0100 Subject: [PATCH 4/5] drop even more prose, be succinct, just use "with" --- source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source b/source index 3f51905d2db..f2f8e03ca50 100644 --- a/source +++ b/source @@ -117347,7 +117347,7 @@ document.querySelector("button").addEventListener("click", bound); error to rethrow to null.

  • Let sheet be the result of running the steps to create a constructed - CSSStyleSheet with a dictionary with: + CSSStyleSheet with: «[ "baseUrl" → baseUrl ]».

  • From 188e6cffa121a439c954d7dea14bd71332ba4477 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 25 Sep 2025 15:39:52 +0100 Subject: [PATCH 5/5] break inside literal --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index f2f8e03ca50..1344298127c 100644 --- a/source +++ b/source @@ -117347,8 +117347,8 @@ document.querySelector("button").addEventListener("click", bound); error to rethrow to null.

  • Let sheet be the result of running the steps to create a constructed - CSSStyleSheet with: - «[ "baseUrl" → baseUrl ]».

  • + CSSStyleSheet with: «[ + "baseUrl" → baseUrl ]».

  • Run the steps to synchronously replace the rules of a CSSStyleSheet