W3C home > Mailing lists > Public > www-style@w3.org > July 2012

Re: [css-om][css3-conditional] spaces, newlines and rule serialization

From: Glenn Adams <glenn@skynav.com>
Date: Sun, 29 Jul 2012 10:58:50 -0600
Message-ID: <CACQ=j+dzJ-eZN-7_TdxCBDCQfYXJbgwVNd2co3Y1E+zBXpL7cw@mail.gmail.com>
To: François REMY <fremycompany_pub@yahoo.fr>
Cc: Florian Rivoal <florianr@opera.com>, www-style@w3.org
On Sun, Jul 29, 2012 at 10:52 AM, François REMY
<fremycompany_pub@yahoo.fr>wrote:

>   FWIW, IE9 on my computer:
>
> *[1] CSSStyleDeclaration.cssText - delimiters - one declaration*
>
>     "left: 10px;"
>
> *[2] CSSStyleDeclaration.cssText - delimiters - two declarations*
>
>     “left: 10px; right: 20px;"
>
> *[3] Summary *
> **
>     IE adds a simple semicolon after the last declaration, but a semicolon
> and a space to separate two declarations. This is what I personnally do in
> my inline style declarations.
>

Thanks. It looks like IE9 and FF14 match, which gets my vote. Opera and
Safari need to change if we define the IE/FF final delimiter behavior as
standard.
Received on Sunday, 29 July 2012 16:59:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:57 GMT