- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Oct 2018 11:27:08 +0000
- To: public-css-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-env-1] Should env() really use <custom-ident>? ==
https://drafts.csswg.org/css-env-1/#env-function says:
```
env() = env( <custom-ident> , <declaration-value>? )
```
However both Blink and WebKit use just `<ident>` for this.
Test-case can be:
```
<!doctype html>
<style>
div {
width: 100px;
height: 100px;
background-color: green;
background-color: env(inherit, red);
}
</style>
<div></div>
```
Which should be green per spec but is red in Blink and WebKit.
Should the spec be changed to use just `<ident>`, or should bugs be filed on browsers?
I made the same mistake in https://bugzilla.mozilla.org/show_bug.cgi?id=1462233, but @heycam caught it during review.
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3262 using your GitHub account
Received on Monday, 29 October 2018 11:27:10 UTC