- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 03 Jul 2019 23:51:08 +0000
- To: public-fxtf-archive@w3.org
The CSS Working Group just discussed `DOMMatrix constructor is a performance and code portability footgun`, and agreed to the following: * `RESOLVED: Add back in the overflow for DOMMatrix readonly to the DOMMatric constructor` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: DOMMatrix constructor is a performance and code portability footgun<br> <dael> github: https://github.com/w3c/fxtf-drafts/issues/346<br> <dael> astearns: krit sent regrets. TabAtkins said makes sense.<br> <dael> chris: [missed] said he didn't need to be in discussion and happy with what we agreed<br> <dael> astearns: Proposal was [reads]<br> <dael> AmeliaBR: I don't entirely understand it either. Right now the constructor allows either a string or an iterrable object. In certain env if you pass another matrix object as a param it gets serialized to a string and reparsed and act like it works. In others it won't happens and it thorws. Concern this is bad<br> <dael> AmeliaBR: Not sure why sometimes serialized and not others<br> <dael> AmeliaBR: Request is support another constructor overload that you can construct any matrix by copying values of another matrix object<br> <dael> heycam: Don't understand why it is worker throws exception<br> <dael> dbaron: I suspect some serialization or parsing code not exposed to workers.<br> <dbaron> yeah, the stringifier is Window-only<br> <dael> AmeliaBR: If behavior in a window is it serializes and parse back again it doesn't sound efficient. Direct cloning is more efficient<br> <dael> dbaron: Diff is because stringifier is DOM only.<br> <dael> dbaron: There's consensus in issue. Asking WG to decalre that<br> <dael> astearns: I don't see anyone saying it's a bad idea to revert the change<br> <dael> dbaron: And it's part of a change being reverted, not the entire<br> <dael> heycam: I also don't understand underlying motivation<br> <dael> astearns: Prop: Add back in the overflow for DOMMatrix readonly to the DOMMatric constructor<br> <dael> astearns: Objections?<br> <heycam> s/motivation of removing overloads in general/<br> <heycam> s/motivation/motivation of removing overloads in general/<br> <dael> AmeliaBR: Question- do we have multi-impl consensus?<br> <dael> astearns: I see blink and gecko in comments<br> <dael> AmeliaBR: Prob okay unless someone from WK objects<br> <dael> RESOLVED: Add back in the overflow for DOMMatrix readonly to the DOMMatric constructor<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/346#issuecomment-508290648 using your GitHub account
Received on Wednesday, 3 July 2019 23:51:10 UTC