aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mouseevent.rs
diff options
context:
space:
mode:
authorJames Gilbertson <james.gilbertson@luniv.ca>2015-03-07 23:16:30 -0700
committerJames Gilbertson <james.gilbertson@luniv.ca>2015-03-08 13:06:27 -0600
commitfafc357308bfb11a31cb66c5346f54239e22c0f5 (patch)
tree30ad20a1dbad0bc17c68408ea56e2cd3f127409e /components/script/dom/mouseevent.rs
parent09c36de8f1db54fdd2514f4b66c3a3753719a1bb (diff)
downloadservo-fafc357308bfb11a31cb66c5346f54239e22c0f5.tar.gz
servo-fafc357308bfb11a31cb66c5346f54239e22c0f5.zip
Fix broken viewport percentage length units after a viewport resize.
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.
Diffstat (limited to 'components/script/dom/mouseevent.rs')
0 files changed, 0 insertions, 0 deletions