commit | 22e04c6e10c9fd0c387feaf394615c17eda36c08 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Fri Aug 02 01:04:37 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Aug 02 14:42:31 2019 +0000 |
tree | 1c03afc028b5adbd5eeb07399f4cf4ecb8b5dcf5 | |
parent | bb6bed1d071be68818e56686c472b3dbf299ccc1 [diff] |
Tweak css3 weight score, prevent ties. The old code could produce ties and didn't make much logical sense. Now the range between 400 and 500 prefers heavier weights up to 500, then lower weights, then the least weight above 500. Change-Id: I4e80f43c039d795efc49a7329c5c64f9da0fd9b1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/231957 Reviewed-by: Julia Lavrova <jlavrova@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>