From 5ee9715b20e3c259aa5fc0ec3662526950b28243 Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Mon, 3 Mar 2025 11:42:24 +0100 Subject: [PATCH] Editorial: Add a Web Platform Design Principles link for `[Exposed=*]` In w3ctag/design-principles#510, the TAG's Design Principles document added a section on considerations for exposing an interface everywhere (`[Exposed=*]`). This patch links to that section in the definition of `[Exposed=*]`. Additionally, the paragraph where that link is added used to have `class="advisement"`, which has no styles or any apparent special meaning. This patch changes it to `class="note"`, which was probably the intention. --- index.bs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.bs b/index.bs index ab81c07c..18424db3 100644 --- a/index.bs +++ b/index.bs @@ -9579,11 +9579,12 @@ The own exposure set is either a [=/set=] of identifiers or the speci :: The [=own exposure set=] is *. -

+

[Exposed=*] is to be used with care. It is only appropriate when an API does not expose significant new capabilities. If the API might be restricted or disabled in some environments, it is preferred to list the globals explicitly. + See [[DESIGN-PRINCIPLES#expose-everywhere|the Web Platform Design Principles]].