DescriptionW3C test_converter.py fails to prefix if previous declaration does not have ";"
When test_converter.py started to prefix values, it assumed that there will be
a ";" to end the declaration. This isn't the case if invalid syntax, or when
the property name appear in comments.
Since all cases it handles today is a sipmle single value, this patch changes
the regex to find a word, instead of all text up to ";".
This change fixes the following tests:
imported/csswg-test/css-writing-modes-3/line-box-direction-019.xht
imported/csswg-test/css-writing-modes-3/line-box-direction-020.xht
BUG=492664
TEST=Tools/Scripts/webkitpy/w3c/test_converter_unittest.py
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196490
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|
||||||||||||||||||||||||||||