DescriptionCssClassSet upgrade
- Fork implementation for Dartium and dart2js. Dartium is working fine.
- dart2js version uses Element.classList (DomTokenList) for 4x speedup.
- Fix bug where document.querySelectorAll(...).classes.add('x') fails for SVG elements.
- Add test for above.
For later:
- Identify a polyfill for IE SVGElements (they don't have classList)
- Simplify CssClassSet further to exploit uniform availability of classList. This should give another performance boost by enabling inlining.
R=alanknight@google.com
Committed: https://code.google.com/p/dart/source/detail?r=44888
Committed: https://code.google.com/p/dart/source/detail?r=44897
Committed: https://code.google.com/p/dart/source/detail?r=44898
Patch Set 1 : #
Total comments: 2
Patch Set 2 : #Patch Set 3 : revert ahead of fixing polyfill test issues #Patch Set 4 : baseline for fixes #Patch Set 5 : Fix webcomponents test, IE toggle. #Messages
Total messages: 12 (6 generated)
|