Non-auto thickness makes underline non-simple
Upgrade underline to non-simple when a thickness is set. Without this change, only modifying the text-decoration-thickness property was disregarded when no other properties are set, as the hasSimpleUnderline() optimization was used in this case in ComputedStyle. Add a non-match type WPT test to ensure that a difference is seen when two different thicknesses are set. Fixed: 1154537 Change-Id: Id0413fc3f44e154b509e21b5f857f13f8d80a8f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2577457Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by:
Rune Lillesveen <futhark@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Dominik Röttsches <drott@chromium.org> Auto-Submit: Dominik Röttsches <drott@chromium.org> Cr-Commit-Position: refs/heads/master@{#834208}
Showing
Please register or sign in to comment