DescriptionMake getProperty more strict when handling the priority parameter
Make getProperty more strict when handling the priority parameter. Before this patch
only a substring search on "important" was done. However CSSOM is quite clear to be more strict :
http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-setproperty
5. If priority is not the empty string and is not an ASCII case-insensitive match for the string "important", terminate this algorithm.
This patch implements that more strict behavior and adds a test.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167883
Patch Set 1 #Patch Set 2 : Add idl change to distinguish between null and empty string #
Messages
Total messages: 9 (0 generated)
|