Closed
Bug 31592
Opened 25 years ago
Closed 25 years ago
Generated content on tag is repeated if tag extends to multiple lines.
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
FIXED
M17
People
(Reporter: jruderman, Assigned: cmanske)
References
Details
Attachments
(1 file)
687 bytes,
text/html
|
Details |
Open http://bugzilla.mozilla.org/showattachment.cgi?attach_id=6464 (bug 31588)
in mozilla and then open it in editor. In editor, each line of text has
a "named anchor" icon instead of just the first line. In addition, the icon is
drawn on top of the text.
Reporter | ||
Comment 1•25 years ago
|
||
Related: Bug 31594, editor underlines named anchors but browser doesn't.
Assignee | ||
Comment 2•25 years ago
|
||
Named Anchor should be automatically terminated.
Assignee: cbegle → cmanske
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Editor: puts "named anchor" arrow on each line → Editor: puts "named anchor" icon on each line when anchor is not terminated
Assignee | ||
Comment 3•25 years ago
|
||
The test case is technically incorrect HTML. The correct HTML syntax for named
anchor should always have </a> immediatley following the <a>.
There is a related bug on that issue (31594).
The behavior described here is a different problem: Since the tag extends
over multiple lines and has "before" generated content, it seems that content
(an image) should not be repeated on each line -- it should just be on just
the first line.
I'll let Troy triage to appropriate person.
Assignee: cmanske → troy
Component: Browser-General → Layout
Depends on: 31594
Summary: Editor: puts "named anchor" icon on each line when anchor is not terminated → Generated content on tag is repeated if tag extends to multiple lines.
Looking at the test case given below I don't see a problem with generated
content. At least not when looking at it in viewer.
If you're going to assign it to layout, then I would appreciate a test case that
exhibits the behavior in viewer
Assignee: troy → cmanske
Assignee | ||
Comment 5•25 years ago
|
||
this is a layout problem. But since it's bad HTML, I'm leaving it for further
investigation later.
Status: NEW → ASSIGNED
Target Milestone: --- → M17
Comment 6•25 years ago
|
||
shouldn't this bug be blocking 31594, not the other way around? I think the
issue here is the auto-terminate certain tags (like <a name>).
Assignee | ||
Comment 7•25 years ago
|
||
For composer, this issue is no longer a problem, since we switched to using
a background image to represent a named anchor, not generated content using
the "before" selector. I constructed a test case anyway, and the problem has
been fixed when Marc Attinasi fixed the problem of images being repeated
when any inline style is broken into multiple display frames because of <br>.
I'll attach that test file.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•25 years ago
|
||
Reporter | ||
Comment 9•25 years ago
|
||
Seems fixed. The link in
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=6464 is now split into
two links, one on each side of the table, in both browser and editor, but
that's probably intentional. An example:
<a href="http://bugzilla.mozilla.org">bug
<table border="1"><tr><td> </td></tr></table>
zilla</a>
You need to log in
before you can comment on or make changes to this bug.
Description
•