Closed Bug 2932 Opened 26 years ago Closed 26 years ago

[4.xP].left aligned, anchored image causes strange layout

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: phillip, Assigned: buster)

References

()

Details

platforms: macos851, nt40, redhat52, Feb 04 1999 (9902041[32]) problem: on nova and msie4.x, the text next to the image of billg is entirely to the right of bill's head, but on seamonkey, all platforms, it is laid out BELOW his head. expected behavior: it should layout to the right, (and not just the first line of text)
QA Contact: 4078
Assignee: troy → kipp
Summary: [pp]99020412 text next to bill's head is below picture → 99020412 text next to bill's head is below picture
Target Milestone: M3
Not a pp bug. Happens on all. Removing [pp]. Setting to M3.
Summary: 99020412 text next to bill's head is below picture → left aligned, anchored image causes strange layout
ok. here's the rub: Problem: in general, an image that is aligned left and is surrounded by an anchor tag will start flowing the rest of the html at the bottom right hand side of the image instead of the top right hand side. expected behavior: the anchor should not have any effect on the layout of text. the testcase at http://wetnap/seamonkey/bugs/bug2932.html has a side by side comparison of HTML with and without the anchors. they should be indistinguishable, but they are not. (this is not a table bug) platforms tested: redhat 5.2 build 99020914 macos 8.51 build 99020914 nt4.0 sp4 build 99020915 other urls: the above url and the following HTML is reduced from microsoft's homepage, a page that uses this type of layout alot. http://www.microsoft.com http://wetnap/seamonkey/bugs/bug2932.html http://wetnap/seamonkey/bugs/bug2932a.html HTML snippet: this is a super minimized testcase. presented as an alternative the the busier, anotated testcase above. ( source: http://wetnap/seamonkey/bugs/bug2932a.html ) <HTML><BODY> <table border=1> <tr> <td><IMG SRC="x" ALT="no_anchor" ALIGN="LEFT" WIDTH=72 HEIGHT=32 BORDER=2> no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor no_anchor </td> </tr> <tr> <td><A href="x"><IMG SRC="foo.img" ALT="anchor" ALIGN="LEFT" WIDTH=52 HEIGHT=32 BORDER=2></a> anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor anchor </td> <tr> </table> </BODY></HTML>
even simpler testcase: <html><body><h1>look <a href="at">at</a> this!</h1></body></html> "look at this!" should be in the heading, but only "look" is. "at this!" is treated as if it is not the child of the heading. is this a parser bug?
Summary: left aligned, anchored image causes strange layout → [4.xP].left aligned, anchored image causes strange layout
Putting on [4.xP] radar.
Status: ASSIGNED → NEW
Target Milestone: M3 → M5
Removing leger from cc. rickg moved from M3 to M5.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
All the bugs reported here have already been fixed.
Status: RESOLVED → VERIFIED
verified on redhat 5.2 build 1999032908 macos 8.51 build 1999032913 winnt4 sp4 build 1999032911
You need to log in before you can comment on or make changes to this bug.