diff --git a/css-highlight-api-1/Overview.bs b/css-highlight-api-1/Overview.bs index 8e3459e7cfab..8ec93a5b3fb2 100644 --- a/css-highlight-api-1/Overview.bs +++ b/css-highlight-api-1/Overview.bs @@ -203,7 +203,7 @@ Creating Custom Highlights
  • For each |range| of {{initialRanges}}, let |rangeArg| be the result of [=converted to an ECMAScript value|converting=] |range| to an ECMAScript value, - then run [[webidl#es-set-add|the steps for a built-in setlike add function]], + then run [[webidl#js-set-add|the steps for a built-in setlike add function]], with |highlight| as the this value, and |rangeArg| as the argument.
  • @@ -241,7 +241,7 @@ Registering Custom Highlights
    To [=register=] a [=custom highlight=], invoke the set method of the [=highlight registry=] - which will run [[webidl#es-map-set|the steps for a built-in maplike set function]], + which will run [[webidl#js-map-set|the steps for a built-in maplike set function]], with the [=highlight registry=] as the this value, the passed-in [=custom highlight name=] as keyArg, and the passed-in highlight as valueArg.