diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-03-13 09:36:50 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-03-13 09:36:50 -0600 |
commit | a50807051b0ff9a46ce6f76189617534b8294276 (patch) | |
tree | 3328a4fff05efa5fc04c44952baace78bf7d220f /components/script/dom/mouseevent.rs | |
parent | c05de08630c50446cb15e42f4948fae6039e7271 (diff) | |
parent | fafc357308bfb11a31cb66c5346f54239e22c0f5 (diff) | |
download | servo-a50807051b0ff9a46ce6f76189617534b8294276.tar.gz servo-a50807051b0ff9a46ce6f76189617534b8294276.zip |
auto merge of #5180 : luniv/servo/viewport-length-cached-values-invalidation, r=SimonSapin
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