DescriptionKeep effectiveZoom finite
Through repeated application, it's quite possible to get the effective
zoom to overflow, resulting in Infinity in ComputedStyle.
This is a very uncommon case in reality (outside fuzzers), but make
sure to clamp the effective zoom value to a finite range to avoid the
simplest cases of Infinity havoc-wrecking.
BUG=490757, 502997
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197734
Patch Set 1 #Patch Set 2 : More tests #
Total comments: 1
Patch Set 3 : Reduced clamp range; Remove clamp in CSSToLength... #
Messages
Total messages: 13 (5 generated)
|