Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道使用ResizeObserver,访问contentRect不会导致重排,因为它是在布局之后计算的。访问目标的scrollHeight/scrollWidth会导致回流吗?
ResizeObserver
contentRect
scrollHeight
scrollWidth