- From: vrugtehagel via GitHub <sysbot+gh@w3.org>
- Date: Tue, 27 Sep 2022 03:00:42 +0000
- To: public-css-archive@w3.org
vrugtehagel has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-nesting-1] __bar is not a valid custom element name == Down in the [2.1 Direct nesting](https://drafts.csswg.org/css-nesting-1/#direct) section, the following example is presented: ```scss .foo { color: blue; &__bar { color: red; } } ``` It is then noted that `&__bar` is ambiguous because `__bar` is a valid custom element name. This is incorrect, as custom element names must start with a character a-z and include a dash (see [the specification](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name)). The argument is still valid, but doesn't quite work for the given example. The `&__bar` could be changed to e.g. `&bar--baz` in order to support said argument accurately. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7798 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 September 2022 03:00:44 UTC