-
Fredrik Söderquist authored
Since the (CSS) parser allows numeric weight values in the range [1, 1000], adjust the ranges in FontDescription::Lighter/BolderWeight to match that. Also factor in that the values can have fractions (by implicitly truncating them) and simplify the range check since there's now a set of adjacent intervals in practice. Bug: 828747 Change-Id: I5fe3405ca45ed8016530d995976e36a6ebbcf366 Reviewed-on: https://chromium-review.googlesource.com/995452Reviewed-by:
Dominik Röttsches <drott@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#548448}
df5ec60e