DescriptionMake getComputedStyle's pseudoElt argument nullable again
The getComputedStyle IDL was synced with the spec in r186258:
https://codereview.chromium.org/765123002
This caused a performance regression in a Dromaeo test:
http://dromaeo.com/?jslib-style-jquery
The likely cause is that jQuery passes null for the pseudoElt argument:
https://github.com/jquery/jquery/search?q=getComputedStyle
With a non-nullable pseudoElt, null is converted to "null", which makes
a measurable difference. Make it nullable again to avoid the problem.
There's no observable difference, because only a pseudoElt beginning
with a : actually does anything.
BUG=438109
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186514
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|