Closed Bug 191120 Opened 23 years ago Closed 23 years ago

deleting a line in composer deletes 2 lines

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: u32858, Assigned: mozeditor)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 If i delete one of the double line gaps after the first table, composer deletes both! ---- <table style="width: 360px;"> <tbody> <tr> <td><font size="-1">Name: <b>Jonathan R. Grant</b> <span style="font-weight: bold;">BSc PGDip</span><br> Date of birth: 7th June 1979</font><br> <font size="-1">Nationality: British</font><br> <small>Current location: Lincoln, UK</small><br> <font size="-1">Email: <a href="mailto:cv@jguk.SPAM-NOTorg">cv AT jguk.org</a> <br> </font> </td> </tr> </tbody> </table> <p> <br> </p> <p> <table cols="1" width="100%"> <tbody> <tr style="font-weight: bold;"> <td><font size="+1">Career Objectives</font></td> </tr> <tr> <td><small> Seeking a challenging opportunity where my skills, knowledge and experience in problem-solving approaches can be extensively applied to research and development; employed as a mid-level 2D/3D graphics C / C++ / embedded developer on Linux and Windows systems; developing novel solutions on future projects; increasing my current skills to target new areas with continuous improvement of these skills in related fields.</small> </td> </tr> </tbody> </table> </p> <p> <br> <table border="2" width="100%"> <tbody> <tr style="font-weight: bold;"> <td colspan="2" width="100"><font size="+1">Employment</font></td> </tr> <tr> <td valign="middle" width="100"><small> </small> <center><font size="-1">June 2001<br> -<br> June 2002</font></center> <small> </small></td> <td valign="top"><b><font size="-1">Sanyo Electric Ltd.</font></b><small><b>, Digital System R &amp; D Centre HQ </b>(<a href="http://www.sanyo.co.jp/R_and_D/">http://www.sanyo.co.jp/R_and_D/</a>), Tokyo, Japan. Research and development of advanced 3D volumetric real-time voxel editing software using GNU/Linux with Qt and OpenGL; d</small><font size="-1">ocumenting programs and creating a user guide for the final product.</font> </td> </tr> <tr> <td width="100"> <center><font size="-1">January 2001<br> -<br> June 2001</font></center> </td> <td><font size="-1"><b>International Centre for Computer Games and Virtual Entertainment</b> (<a href="http://www.iccave.org/">http://www.iccave.org/</a>), University of Abertay, Dundee, Scotland. Research and development in advanced technologies for the computer games and entertainment industries.&nbsp; Part-time postition, working on&nbsp; wrote white paper </font><font size="-1"><span style="font-weight: bold;">Essential Techniques for Porting Games</span> and </font><font size="-1">tested games for network lag.</font></td> </tr> </tbody> </table> --- Reproducible: Always Steps to Reproduce: 1.use this code in an html document 2.open in composer, delete the line following my email address 3. Actual Results: both <p> are removed Expected Results: Should be 1 of the 2 lines left
-->core reporter: can you test this bug on a newer build? It is possible that this was a problem and it has been fixed since the build you are using.
Assignee: composer → jfrancis
Component: Editor: Composer → Editor: Core
You are deleting a paragraph. It has vertical margins. If you want two lines between the tables that are both deltable, use br's rather than p's. (and a p with a br in it is the same as an empty p).
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
jfrancis@netscape.com, You have missed the point. 1) I did not choose the way composer created this file. 2) the problem is that composer misses off the </p> off the first example: </table> <p> <br> </p> <p> <table cols="1" width="100%"> The following gap works fine (as I stated): </table> </p> <p> <br> <table border="2" width="100%"> When mozilla displays 2 selectable lines, it should be possible to delete one of them. I recomend re-opening this JG
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
There are not 2 selectable lines. The second <P> is not between the tables. rather, the second <p> contains the second table. Between them is one selectable line, inside the first <p>. When you delete that <p>, the margin for it also disappears. If you want two lines between your tables, fix your markup.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.