Commit dae7bed2 authored by Robert Knight's avatar Robert Knight

Clarify how `elementContentRect` differs from `getBoundingClientRect`

parent 0e835086
......@@ -109,8 +109,9 @@ function hasFixedPosition(element) {
}
/**
* Return the bounding rect that contains the element's content, including
* any content which overflows the element's specified size.
* Return the bounding rect that contains the element's content. Unlike
* `Element.getBoundingClientRect`, this includes content which overflows
* the element's specified size.
*
* @param {Element} element
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment