W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2018

Re: [csswg-drafts] [css-shadow-parts] decide on forwarding micro-syntax for partmap

From: Ryosuke Niwa via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Mar 2018 05:37:31 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-376402991-1522129050-sysbot+gh@w3.org>
Well, browser engines can't observe changes to a dictionary so your proposal as currently stands will make partmap readonly, and any changes to it will be discarded. It's even weirder because it has `[SameObject]` on it. It means the browser engine has to update the dictionary continuously? I don't think it works because then author scripts can override property descriptors of a dictionary, and all sorts of insanity ensues.

-- 
GitHub Notification of comment by rniwa
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2411#issuecomment-376402991 using your GitHub account
Received on Tuesday, 27 March 2018 05:38:37 UTC

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