W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2017

Re: [csswg-drafts] [cssom] CSSStyleRule.style assignability (?) differs across browsers

From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Jun 2017 21:17:41 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-306927855-1496870260-sysbot+gh@w3.org>
Right.  All that's happening here is that Safari and Edge don't implement that PutForwards bit from the spec, so assigning to `.style` is a no-op there (or an exception in strict mode code), while assigning to `.style` is the same as assigning to `.style.cssText` in Firefox and Chrome.

GitHub Notification of comment by bzbarsky
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1506#issuecomment-306927855 using your GitHub account
Received on Wednesday, 7 June 2017 21:17:47 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:34 UTC