Skip to content

Commit 5ee9715

Browse files
committed
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.
1 parent 90b5184 commit 5ee9715

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9579,11 +9579,12 @@ The <dfn>own exposure set</dfn> is either a [=/set=] of identifiers or the speci
95799579
:: The [=own exposure set=] is <code>*</code>.
95809580
</dl>
95819581

9582-
<p class="advisement">
9582+
<p class="note">
95839583
<code>[Exposed=*]</code> is to be used with care.
95849584
It is only appropriate when an API does not expose significant new capabilities.
95859585
If the API might be restricted or disabled in some environments,
95869586
it is preferred to list the globals explicitly.
9587+
See [[DESIGN-PRINCIPLES#expose-everywhere|the Web Platform Design Principles]].
95879588
</p>
95889589

95899590
<div algorithm>

0 commit comments

Comments
 (0)