This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29191 - "Let list be the result of invoking getClientRec..."
Summary: "Let list be the result of invoking getClientRec..."
Status: RESOLVED DUPLICATE of bug 28930
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM View (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 18:57 UTC by Domenic Denicola
Modified: 2015-10-09 18:58 UTC (History)
0 users

See Also:


Attachments

Description Domenic Denicola 2015-10-09 18:57:37 UTC
https://drafts.csswg.org/cssom-view-1/#extension-to-the-element-interface

[[
Let list be the result of invoking getClientRects() on the same element this method was invoked on.
]]

This implies that I can change the result of getClientRect() by doing Element.prototype.getClientRects = function () { ... };

It would be better to factor out the getClientRects algorithm and have both getClientRects() and getClientRect() refer to it.
Comment 1 Domenic Denicola 2015-10-09 18:58:31 UTC
Sorry, should have searched; dupe I guess.

*** This bug has been marked as a duplicate of bug 28930 ***