Created attachment 63785 [details] test case See test case. Opera/WebKit agree. Not sure who is wrong.
https://bugzilla.mozilla.org/show_bug.cgi?id=585229 On further thought, the WebKit/Opera behavior seems more correct to me, but I'll leave this open till we hear from Mozilla folk. Would be nice to be consistent.
See bug 45049.
Seems related to bug 40338.
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/027767.html
See: http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html I've filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=15134 asking for spec clarification.
IE, Webkit, and Opera all seem to agree that every Window has a Selection. This is what the spec says too. Gecko's behavior is more complicated and in the minority, so I haven't changed the spec.
(In reply to comment #6) > IE, Webkit, and Opera all seem to agree that every Window has a Selection. This is what the spec says too. Gecko's behavior is more complicated and in the minority, so I haven't changed the spec. Thanks! Won't fix this bug per Aryeh's spec.