DescriptionRework float value/percentage scanning for VTTRegion
Next step in the transition to VTTScanner for VTTRegion parsing.
Add a new method scanFloat(...) to VTTScanner (basing the implementation
on VTTParser::parseFloatPercentageValue).
Use this new method scanFloat in VTTParser::parseFloatPercentageValue,
and change (remove) the end-of-input/value requirement (hoisting it into
the callers).
Let the above propagate into VTTParser::parseFloatPercentageValuePair,
and make it use VTTScanner internally.
BUG=305317
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165442
Patch Set 1 #
Total comments: 4
Messages
Total messages: 7 (0 generated)
|