Changes between Initial Version and Version 6 of Ticket #10290
- Timestamp:
- Sep 16, 2011, 9:57:25 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10290
-
Property
Status
changed from
new
toreopened
-
Property
Component
changed from
unfiled
totraversing
-
Property
Priority
changed from
undecided
tolow
-
Property
Milestone
changed from
None
to1.8
- Property Keywords 1.8-discuss added
-
Property
Status
changed from
-
Ticket #10290 – Description
initial v6 1 http://ejohn.org/blog/element-traversal-api/[[BR]]1 [[BR]] 2 2 Three years past, now all major browser are supporting element traversing api. Maybe it's time to reconsider? 3 3 4 4 In some cases, this properties can noticeable increase iterating speed -- 5 5 [[BR]] 6 nextAll( http://jsperf.com/element-traversing-nextall-with-obstacles),6 nextAll( ), 7 7 [[BR]] 8 children( http://jsperf.com/element-traversing-children-with-obstacles),8 children( ), 9 9 [[BR]] 10 siblings( http://jsperf.com/element-traversing-siblings-with-obstacles).10 siblings( ). 11 11 12 12 In some cases, speed increase is less noticeable -- 13 13 [[BR]] 14 nextAll( http://jsperf.com/element-traversing-nextall),14 nextAll( ), 15 15 [[BR]] 16 children( http://jsperf.com/element-traversing-children),16 children( ), 17 17 [[BR]] 18 siblings( http://jsperf.com/element-traversing-siblings).18 siblings( ). 19 19 20 20 Or practically does not exits -- 21 21 [[BR]] 22 parents( http://jsperf.com/element-traversing-parents-with-obstacles).22 parents( ).