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.
DOMRect文档说宽度和高度可以是负数
DOMRect
宽度尺寸矩形的宽度。可以是负数。 高度维度矩形的高度。可以是负数。
宽度尺寸矩形的宽度。可以是负数。
高度维度矩形的高度。可以是负数。
有人可以解释负宽度或高度值是如何发生的吗?