[Mozile] Mozile 0.6.25.1 release
Max d'Ayala
max at dayala.co.uk
Fri Mar 31 18:05:57 EST 2006
Following on from recent comments about styles being applied outside the
"top" editing container here's a minor release to test out some bug fixes.
Downloads:
http://downloads.mozdev.org/mozile/mozile-0.6.25.1-devel.xpi
or
http://www.dayala.co.uk/mozile/test/Docs/mozile-0.6.25.1-devel.xpi
Fixes in mozCE.js and eDOMXHTML.js
#1. Styling applied outside the editable content.
This should fix a bug with the styleText and toggleTextStyle commands.
E.g. If you have something like this,
<div class="edit>text</div>
and highlight all of "text" with the mouse, then apply a text styling
command such as Bold, the style gets incorrectly applied to the div.
This has now been fixed and the text is correctly wrapped in a "span"
before being styled.
[Other combinations such as highlighting part of the text already worked
correctly.]
#2. I've also improved changeLinesContainer and removeLinesContainer.
changeLinesContainer should now check that the new container is a valid
child of the parent. Also, bug with changing mixtures of Contained and
Bounded Lines now fixed. (Bounded Lines weren't being handled correctly.)
removeLinesContainer now checks that the container is within the "top"
editable container. i.e. prevents problems if you execute this command
with "p" or "b", etc as the "top" container instead of "div".
I've tested this lightly, so please can 0.6 users check this out and
verify that there aren't any adverse effects from these bug fixes.
Thanks
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/mozile/attachments/20060331/5df534b8/attachment.htm
More information about the Mozile
mailing list