Open Bug 434475 Opened 13 years ago Updated 13 years ago
the Indent command splits a paragraph in 2 elements after several indents
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008051806 Minefield/3.0pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008051806 Minefield/3.0pre The Indent command splits a paragraph in 2 elements after several indents. Reproducible: Always Steps to Reproduce: 1. Put the following HTML into the midas demo: <p><span style="border: 1px solid red;">Some span. This span will touch the right margin of the page after several indents. After that, the span is moved into another div and the P will contain the following text node</span> Second text node which will eventually get wrapped after several indents</p> 2. Put the selection inside the span (click into it). 3. Press the Indent button from the demo toolbar several times until the span it's about to get wrapped and then press the indent button again Actual Results: The P is indented again. Expected Results: A DIV is inserted before the P, the SPAN is copied inside the DIV, the following text node is moved inside the P. You could use Firebug to see the DOM as it modifies while executing these steps. Prepare the midas demo, enter the HTML, click on the span, inspect it in Firebug, then press indent with firebug open: you'll see how the DOM modifies until a DIV is inserted.
Oh, my bad, switch Actual Results with Expected in bug description above (wish I could edit it myself).
This is NOT a duplicate of bug 194963
You need to log in before you can comment on or make changes to this bug.