Skip to content

Commit 17d9a30

Browse files
committed
[css-properties-values-api] Remove lingering references to the parsed property name in registerProperty(). No parsing is done to the name.
1 parent fd00815 commit 17d9a30

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

css-properties-values-api/Overview.bs

+2-5
Original file line numberDiff line numberDiff line change
@@ -637,11 +637,8 @@ as arguments of the same names.
637637
<a>throw</a> a {{SyntaxError}}
638638
and exit this algorithm.
639639

640-
Otherwise,
641-
let |parsed name| be the parsed value.
642-
643640
If |property set|
644-
already contains an entry with |parsed name| as its property name
641+
already contains an entry with |name| as its property name
645642
(compared codepoint-wise),
646643
<a>throw</a> an {{InvalidModificationError}}
647644
and exit this algorithm.
@@ -686,7 +683,7 @@ as arguments of the same names.
686683
5. Set |inherit flag| to the value of |inherits|.
687684

688685
6. Let |registered property| be a [=struct=]
689-
with a property name of |parsed name|,
686+
with a property name of |name|,
690687
a syntax of |syntax definition|,
691688
an initial value of |parsed initial value|,
692689
and an inherit flag of |inherit flag|.

0 commit comments

Comments
 (0)