https://bugzilla.wikimedia.org/show_bug.cgi?id=31847

--- Comment #8 from Brion Vibber <[email protected]> 2011-10-20 21:49:59 UTC 
---
Took a quick peek in IE8's debugger...

When we run the $.textSelection('encapsulateText') call, in the IE path we end
up going through the restoreCursorAndScrollTop function.

This pulls a scrollTop value of 0, and a pos (selection range) value of [368,
368], and forces the scrolltop and selection to those values. That character
position comes out to the line where it's ending up inserting the header on my
test document.

So question I guess is where that selection value's coming from. :)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to