Re: [csswg-drafts] [selectors] consider preserving invalid selectors in :is() and :where() (#8356)

  > To parse as a **forgiving selector list** given an input `input`:
  >
  > 1. [Parse a list](https://drafts.csswg.org/css-syntax-3/#css-parse-a-comma-separated-list-according-to-a-css-grammar) of `<complex-real-selector>`s from `input`, and let `selector list` be the result.
  > 2. Remove all failure items from `selector list`, and all items that are invalid selectors, then return a `<selector-list>` representing the remaining items in `selector list`. (This might be empty.)

Does preserving invalid selectors mean that step 2 will be removed and that items in `selector list` represent both the input and the result from its parsing, or that `<forgiving-selector-list>` will no longer be parsed with *parse a comma-separated list according to a CSS grammar*?

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8356#issuecomment-1670916614 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 August 2023 08:43:30 UTC