W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2019

[csswg-drafts] [css-content] Initial value of quotes should be auto (#4074)

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Mon, 01 Jul 2019 10:35:04 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-462638927-1561977303-sysbot+gh@w3.org>
emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-content] Initial value of quotes should be auto ==
Right now https://drafts.csswg.org/css-content/#propdef-quotes says:

> Initial: depends on user agent 

WebKit and Blink have a magic initial value which you can only set with `initial` and which serializes to the empty string (which doesn't round-trip) and which triggers language-dependent quotes.

In Gecko we're interested in adopting a similar mechanism, but it'd be unfortunate if the initial value couldn't be represented in CSS (I think the fact that `getComputedStyle` returns the empty string is a bug).

Would it make sense to add an `auto` value which triggers this behavior and which is also the initial value?

See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1421938

cc @jfkthame @fantasai @jensimmons 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4074 using your GitHub account
Received on Monday, 1 July 2019 10:35:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:50 UTC