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
The overflow spec defines how scrollable overflow area calculated in a recursive manner. Basically, the spec would consider the union of children's area for each layer of recursion. In which, could be non-rectangular due to transform.
On the other hand, implementations uses the smallest bounding rectangle of these union in each layer of recursion for the calculation of a scrollable overflow area. This causes inaccuracy where the scrollable overflow of the element could extend beyond the farthest point of it's descendants if it have nested transforms that results in non-rectangular shapes. As shown by scrollable overflow of an element with nested rotated descendant example.
The overflow spec defines how scrollable overflow area calculated in a recursive manner. Basically, the spec would consider the union of children's area for each layer of recursion. In which, could be non-rectangular due to transform.
On the other hand, implementations uses the smallest bounding rectangle of these union in each layer of recursion for the calculation of a scrollable overflow area. This causes inaccuracy where the scrollable overflow of the element could extend beyond the farthest point of it's descendants if it have nested transforms that results in non-rectangular shapes. As shown by scrollable overflow of an element with nested rotated descendant example.
cc: @xiaochengh @Loirooriol
The text was updated successfully, but these errors were encountered: