Re: [csswg-drafts] Vendor prefix in <dashed-ident> (#6099)

Yes, there are legacy single-dash properties in use on public webpages. Those, and especially their browser vendor prefixes, are well known. There should not be new ones. 

I’m not at all saying that a random author should be able to specify and respecify a value for a custom property like `-foo-bar`. I’m talking about reusable standards, libraries, frameworks etc.  

We actually do have a mechanism for namespaces already that could be reused, [*`<namespace-prefix>`*](https://drafts.csswg.org/css-namespaces-3/#declaration). 

~~~~
@namespace foo url("https://example.com/ns");

bar {content: var(-foo-baz);}
~~~~

`webkit` etc. could be specified as predefined namespace prefixes in the default stylesheet. 

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


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

Received on Wednesday, 17 March 2021 07:15:44 UTC