- From: François REMY <fremycompany_pub@yahoo.fr>
- Date: Mon, 1 Aug 2011 19:35:58 +0200
- To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- CC: <www-style@w3.org>
Yay but an editor and the new CSS OM could at least treat the multiple declarations in an usual way by merging them. As I said, a post processor could easily redivide that unique declaration into multiple ones just before saving the file to maintain backward compatibility. Doing the reverse process (merging the declarations) can be a process left to the browser. François -----Message d'origine----- De : Daniel Glazman Envoyé le : lundi 1 août 2011 01:05 À : François REMY Cc : www-style@w3.org Objet : Re: RE : Re: [cssom] Question about multiple key pair values Le 30/07/11 09:37, François REMY a écrit : > Ok, it confirms my thoughts. I think the only solution would be to serialize the multiple property using a single property definition and a function : > > property: first-of(value1, value2); Even that would not work, it's too late... You would always need two declarations for legacy browsers not parsing your first-of(). </Daniel>
Received on Monday, 1 August 2011 17:36:04 UTC