W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > April 2018

Re: [fxtf-drafts] Investigate removing [LegacyArrayClass] from DOMRectList

From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Apr 2018 05:48:10 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-384520968-1524721689-sysbot+gh@w3.org>
@annevk Just to clarify: Simply removing `[LegacyArrayClass]` means that `DOMRectList` will just provide the `length` read-only attribute and the `item()` method. Authors won't be able to use Array methods.

Currently, only Firefox seems to allow Array functions. So following your suggestion unlikely breaks web content. And looking at the activity on the referenced Mozilla bug, Mozilla seems to be on board with removing `[LegacyArrayClass]`.

So I'll go ahead and remove it from the spec.

GitHub Notification of comment by dirkschulze
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/280#issuecomment-384520968 using your GitHub account
Received on Thursday, 26 April 2018 05:49:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:22 UTC