mirror of
https://github.com/servo/servo.git
synced 2025-06-28 19:13:41 +01:00
When a viewport is resized, the computed values for a style containing viewport percentage length units become stale. However, there's no way for those styles to be invalidated after a resize. As a solution, this commit invalidates the computed values cache after a resize has occurred, which is probably over-kill. A better solution would probably be to track under what conditions computed values remain valid, and invalidate them as indicated. |
||
---|---|---|
.. | ||
matching.rs | ||
node_style.rs |