Skip to content

Commit 8633799

Browse files
committed
Issue documenting intent about token-exposure design.
1 parent d6a3007 commit 8633799

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

css-parser-api/Overview.bs

+7
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,10 @@ in particular, {{CSSParserIdent}} and {{CSSKeywordValue}} are basically the same
162162
as are {{CSSParserNumber}} and {{CSSNumberValue}}.
163163
Is it worthwhile to transplant this hierarchy underneath the {{CSSStyleValue}} superclass,
164164
and reuse the ones that are reasonable?
165+
166+
Issue: Trying to be as useful as possible,
167+
without exposing so many details that we're unable to change tokenization in the future.
168+
In particular, whitespace, delims, and the weird Selectors tokens
169+
all get serialized as individual {{CSSParserChar}} "tokens",
170+
which should allow us to change the set of Selectors tokens in the future safely.
171+
Am I succeeding at this goal?

0 commit comments

Comments
 (0)