Closed Bug 691977 Opened 13 years ago Closed 12 years ago

Formatting of HTML causing white space

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 716741

People

(Reporter: rich, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110706 Firefox/5.0 SeaMonkey/2.2
Build ID: 20110706120824

Steps to reproduce:

Editing a HTML document - inserting a picture with a fairly long tooltip


Actual results:

The tooltip and ALT text gets split over more than one line, resulting in white space added in the middle of the tooltip


Expected results:

Everything between the quote marks for alt="text" and title="text" MUST be kept on the same line and not split in the HTML source.
Does this also happen with SeaMonkey 2.4.1?
Component: General → Composer
QA Contact: general → composer
Yes.

I have no idea how it is supposed to work, what it is supposed to do, but if the alt="text" is split in the source html, & Composer /does/ split it, the alt="text" text displays differently on mouseover.
Attached file Test Web Page.
Test Web Page, Composer Generated, alt="text" is split onto two lines.
Exactly similar to one of the bug I outlined in http://is.gd/ZGuTNi and that's
the same reason behind it. The handling of mMayIgnoreLineBreakSequence is
incomplete, and in some cases wrong. I'm working on it.
Attached file Test Web Page.
Test Web Page #2, originally Composer Generated with alt="text" is split onto two lines, though I've manually joined the lines so that they are no longer split in the source.
 
 
Note the difference of the alt="text" displayed on mouseover between the two pages.
Attached image Picture
"External" picture to be used with the html files.
(You'll need to adjust the path in the html source to point to it.  Don't use Composer or you'll break the source ;-) )
Attachment #564903 - Attachment mime type: text/plain → text/html
Attachment #564901 - Attachment mime type: text/plain → text/html
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
OS: Windows 7 → All
Hardware: x86_64 → All
Resolution: --- → DUPLICATE
Version: SeaMonkey 2.2 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: