You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/1-document/11-coordinates/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ In practice though, `elem.getBoundingClientRect()` always returns positive width
89
89
```
90
90
91
91
```warn header="Internet Explorer: no support for `x/y`"
92
-
Internet Explorer don't support `x/y` properties for historical reasons.
92
+
Internet Explorer doesn't support `x/y` properties for historical reasons.
93
93
94
94
So we can either make a polyfill (add getters in `DomRect.prototype`) or just use `top/left`, as they are always the same as `x/y` for positive `width/height`, in particular in the result of `elem.getBoundingClientRect()`.
0 commit comments