Open Bug 1070490 Opened 11 years ago Updated 5 years ago

Composer splits one-line image tooltips

Categories

(SeaMonkey :: Composer, defect)

SeaMonkey 2.29 Branch
x86_64
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: Dmitry.Semionin, Unassigned)

Details

(Keywords: steps-wanted)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140917194002 Steps to reproduce: In the document i'm creating with Composer, there's a paragraph with two anchors and an image inserted in the beginning of it. The paragraph's source code is: <p><a name="ОпределениеДеревоКаталогов"></a><a name="Рис-8-1"></a><a href="../Pictures/Tutorial/FolderTree.jpg"><img title="Рис. 8-1" alt="" src="../Pictures/Tutorial/FolderTree.jpg" border="0" align="right" height="300" width="333"></a>.... </p> The way this source code formatted is based on Composer's internal logic, i have no control over the max length of the source code lines. Manual correction of the source code is no use since it's automatically reformatted on each subsequent document edit. Actual results: The img title attribute is formatted in a way that the single text line is broken into two segments, each on a separate line of the source code. The problem is that both Firefox (32.0.2) and SeaMonkey's own engine used in the Preview mode of Composer show this tooltip as split on two lines. Expected results: What i expect is that a one-line tooltip that shows no intention of being multiline is shown in a single line. And since Firefox' behavior on treating the multiline nature of the img title is probably correct, i believe it's a Composer's job to format those attributes as one-liners unless explicitly said so.

NOT reproducible with sample document "Editor101.html" and installation of unofficial (by wg9s) De SeaMonkey 2.53.4beta 1 pre Mozilla/5.0 (NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Build 20200529210001(Default Classic Theme, newly created User Profile) on German WIN7 64bit:

  1. Open attached "Editor101.html" in SM Browser
  2. Move mouse pointer over image placeholder
    » Tooltip shows "Рис-8-1" ☺
  3. Close document
  4. Open "Editor101.html" in SeaMonkey Composer (for HTML files)
  5. Save as "SMfromEditor101.html"
  6. Close Composer
  7. Open "SMfromEditor.html"
    » Tooltip also shows "Рис-8-1" ☺

So NOT reproducible.

Additional information

a) I know problems like the complained one. Composer inserts line breaks and blanks and so sometimes destroys html code so that the resulting view in browser is not as expected.
b) Also for example "SMfromEditor101.html" Composer inserts blanks and line breaks, but that does not cause "real life problems" as complained
c) This Query shows some possible DUPS (or at least "RelatedTos").

Keywords: steps-wanted

Although I was not able to reproduce the problem, I am pretty sure that it does exist. Also see "1380635 Line breaks (and whitespace) inserted into <input> placeholder attributes"

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: