Closed Bug 2020 Opened 26 years ago Closed 26 years ago

<(BODY|TABLE|TR|TD) BACKGROUND> ignores <BASE HREF> in resolving URL

Categories

(Core :: Layout, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: 3jrgm, Assigned: buster)

References

()

Details

(This might be parser, not tables). Summary about says it all. <TD BACKGROUND> should resolve to the same URL as the <IMG SRC> using the <BASE HREF>. (Test Nightly Dec 19 and Dec 16 on Win95). _________________________________________ <HTML><HEAD> <BASE HREF="http://www.mozilla.org/newlayout/testcases/"> </HEAD><BODY> <TABLE border=2 cellPadding=30 cellSpacing=3> <TR> <TD background="mozilla_bungee.gif">&nbsp;</TD> <TD><img src="mozilla_bungee.gif" border=1></TD> </TR> </TABLE> </BODY></HTML>
Sorry, should have added: I can see in the server logs, that a GET is being performed for 'mozilla_bungee' at the base URI of the current document. (i.e., confirms the above statement that <TD BACKGROUND> ignores <BASE HREF>). (Probably points a little more to parser than tables (?)).
Summary: <TD BACKGROUND> ignores <BASE HREF> in resolving URL → <(BODY|TABLE|TR|TD) BACKGROUND> ignores <BASE HREF> in resolving URL
(Changed title). This also applies to the resolution of the BACKGROUND image URL for <BODY>, <TABLE>, and <TR> in addition to <TD>. I suppose that this should have lower priority than HTML 4.0 attributes, (i.e., this feature is for backward-compatibility purposes).
Assignee: buster → troy
Component: HTMLTables → Layout
Troy, I don't know who to assign this to. It's not a table bug. As the submitter points out it happens on <BODY> as well. You, Kipp, Sparky?
Assignee: troy → buster
It's definitely not me...
Assignee: buster → kipp
troy pushed this back on me, but I'm off of core layout as of 1/1/99. So Kipp could you either take it or reassign it to the correct person? Thanks.
Status: NEW → ASSIGNED
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fixed. Updated the content code's MapBackgroundAttribute's to use the correct base url; updated the content sink to store BASE tag data in table's, tr's, td's and th's for navigator compatability (HTML4 only supports background on BODY).
Status: RESOLVED → VERIFIED
Fixed in March 23rd Build.
You need to log in before you can comment on or make changes to this bug.