This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Since window and document has a method getSelection() instead of selection attribute. Using getSelection() seems consistent.
Hurr Durr.... My bad. Will fix.
http://dvcs.w3.org/hg/webcomponents/rev/d694bf9b9d3c