Skip to content

[cssom-view] "static DOMRect" #1202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cvrebert opened this issue Apr 11, 2017 · 3 comments
Closed

[cssom-view] "static DOMRect" #1202

cvrebert opened this issue Apr 11, 2017 · 3 comments

Comments

@cvrebert
Copy link
Member

https://drafts.csswg.org/cssom-view/#dom-element-getboundingclientrect

If the list is empty return a static DOMRect object

What precisely does "static" mean here? Neither CSSOM View nor Geometry Interfaces seems to define staticness, either generally or in relation to DOMRect specifically. And the WebIDL static keyword doesn't seem applicable here.

Perhaps DOMRectReadOnly was intended?

@zcorpan
Copy link
Member

zcorpan commented Apr 11, 2017

It means not live. I can clarify...

@cvrebert
Copy link
Member Author

cvrebert commented Apr 14, 2017

@zcorpan Are live DOMRects a thing, or are the "not live" notes purely for the avoidance of doubt?

@zcorpan
Copy link
Member

zcorpan commented Apr 15, 2017

I think there aren't any live DOMRects, but there could be. (DOMQuad used to have a live bounds attribute.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants