Support unclosed parentheses at end of sizes attribute

Desktop / Chromium - Rune Lillesveen [opera.com] - 5 August 2017 06:04 EDT

Instead of returning false, match unclosed left-parentheses and function tokens. Fixes eight cases in the WPT.

Bug: 749381 Change-Id: I7b3f061ee026be1da9ab377488f83007a2a0689d Reviewed-on: https://chromium-review.googlesource.com/599851

8dbf812 Support unclosed parentheses at end of sizes attribute.
.../sizes/parse-a-sizes-attribute-expected.txt | 18 +++++++++---------
.../WebKit/Source/core/css/parser/SizesCalcParser.cpp | 10 +++++-----
2 files changed, 14 insertions(+), 14 deletions(-)

Upstream: git.chromium.org


  • Share