Inconsistents with ClientRect definition #11085
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
Milestone
TypeScript Version: 2.0.3
Typescript 2.0.3 has a lot of readonly stuff in lib.d.ts.
I am surprised that only height and width is readonly in ClientRect definition.
Is this an error?
Mozillas response of getBoundingClientRect is the other way round:
all but height/width readonly (if i can trust FireBug) and has added x, y
Sidenote: ClientRect has been renamed to DOMRect
The text was updated successfully, but these errors were encountered: