Description:-webkit-any pseudo with escaped '(' should not crash.
Pseudo classes or elements which had an escaped '(' character were
recognized as functions after it had been unescaped. That caused for
instance ":-webkit-any\(" to be correctly tokenized as ':' IDENT, but
incorrectly recognized as the -webkit-any _function_. Since mandatory
arguments were not present in the internal representation, the code crashed.
Fixed by making sure IDENTs are recognized as invalid pseudo classes, before
any token matching is done, if the unescaped IDENT ends with a '('.
Also, removed workaround code for a similar crasher for :not() now that the
parsing issue is fixed for :not() as well.
BUG=294023
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157980
Patch Set 1 #Patch Set 2 : Removed workaround code for :not() #
Messages
Total messages: 4 (0 generated)
|