Closed Bug 11429 Opened 26 years ago Closed 25 years ago

[Mac] Comment handling inside <script> tags broken?

Categories

(Core :: Layout: Tables, defect, P3)

PowerPC
Mac System 8.6
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sampo, Assigned: dcone)

References

()

Details

Attachments

(1 file)

the page at www.bedellandassocaites loads correctly in Communicator 4.x, but not

in mozilla.  The basic problem here is that when comment tags are encountered

inside <script> tags inside a table, the whole table refuses to render.  here's a

small test case against Mozilla on MacOS, build 1999080713.  Maybe my HTML is

bad, and is just showing a bug in Comm. 4.6, but here goes:



this renders the table properly:

<table width=100 height=100 border=0 cellpadding=0 cellspacing=0>

	<tr>

		<td valign=middle width=100 height=100 bgcolor="#0000ff">

			<script language='javascript'>

			var maplink="Having trouble finding what you want? Click here."

			document.writeln("<a href='map.html'>" +

maplink.fontcolor('white') + "</a>")

			</script>

		</td>

	</tr>

</table>



this does not:



<table width=100 height=100 border=0 cellpadding=0 cellspacing=0>

	<tr>

		<td valign=middle width=100 height=100 bgcolor="#0000ff">

			<script language='javascript'>

			<!-- older browsers

			var maplink="Having trouble finding what you want? Click here."

			document.writeln("<a href='map.html'>" +

maplink.fontcolor('white') + "</a>")

			// hey now -->

			</script>

		</td>

	</tr>

</table>



thanks. Nate.
Assignee: troy → karnaze
Component: Layout → HTMLTables
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Its loading for my WinNT debug build. ChrisP, please verify on Mac.
my friend changed the page at the old test URL so that it works with mozilla

(moving the script outside the table) but this doesn't really resolve the issue,

so I posted the old page at http://www.tir.com/~sampo/bedell.html just ignore the

broken image.  could someone check the testcase in the description of this bug

(yes, the one that seems to be double spaced for some reason).  thanks.
Attached file A simple test case that uses comments (deleted) —
Status: RESOLVED → REOPENED
Summary: comment handling inside <script> tags broken? → [PP] Comments handling inside <script> tags broken?
Ok, I spent some time on this problem yesterday. The comment problem does occur
in the Mac Aug 10th build but not on Windows or Linux. However, the problem only
occurs for me if the file is loaded locally. If file is loaded from the server,
the page is rendered correctly. I have attached the test case to this report.
Reopening bug and changing to parity
Resolution: WORKSFORME → ---
Summary: [PP] Comments handling inside <script> tags broken? → comment handling inside <script> tags broken?
Assignee: karnaze → dcone
Status: REOPENED → NEW
Don, can you take a look at this, since it only occurs on Mac.
Status: NEW → ASSIGNED
Target Milestone: M12
Target Milestone: M12 → M13
Summary: comment handling inside <script> tags broken? → [Mac] Comment handling inside <script> tags broken?
Status: ASSIGNED → RESOLVED
Closed: 26 years ago25 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
With the Mac build (1999121508), this problem has been fixed.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: