Closed
Bug 108423
Opened 25 years ago
Closed 24 years ago
display corrupt when scrollable on C: drive
Categories
(Core :: Layout, defect)
Tracking
()
CLOSED
WORKSFORME
People
(Reporter: wimroffel, Assigned: attinasi)
References
()
Details
(Whiteboard: [bae:20011128])
The attached webpage has on the toprow four images that should be evenly
distributed on top of the page. This happens only if at least one of the
following two conditions is met:
- the page is accessed over http. The problem does only happen if you have
both the HTML file and the picture on the local drive (C:) ad you access it as
such (so it does not happen if you access it as localhost).
- there is a scrollbar at the side of the window. If the page is too small so
that it doesn't produce a scrollbar then you don't get the error.
When the error happens you will see that the distribution of the images over
the page changes every time you press reload.
Some additional comment to the code:
- the pagesize input field and the command that changes it is somehow
essential for the problem.
- the main function of the drawpath function is probably that it brings makes
the path long enough to be scrollable
- a copy of this file - including the belonging gif file can be found at
http://www.wimroffel.myweb.nl/ada.htm. It should be noted however that the
problem happens only when both files are stored locally.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<SCRIPT Language=JAVASCRIPT>
function drawpath()
{ for(i=0; i<30; i++)
document.write( "Antarctica<br>");
}
</SCRIPT>
</HEAD>
<BODY>
<table border=1 height=100% width=100% cellpadding=0 cellspacing=0 color=red>
<tr><td><table width=100%>
<tr align=center>
<td><div align=center valign=bottom><img src=../../_songs.gif></td>
<td><div align=center valign=bottom><img src=../../_songs.gif></td>
<td><div align=center valign=bottom><img src=../../_songs.gif></td>
<td><div align=center valign=bottom><img src=../../_songs.gif></td>
</tr></table></td>
</tr>
<tr>
<td height=100% valign=top>
<SCRIPT Language=JAVASCRIPT>drawpath();</SCRIPT>
<form name=MidForm style="margin:5">
<input name=pagesizer size=2>
</form>
</td>
</tr>
</table>
<SCRIPT>
document.MidForm.pagesizer.value = 10;
</SCRIPT>
</body>
</html>
Comment 1•24 years ago
|
||
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.5+) Gecko/20011108
Reporter, the code on the page is different than the code you've posted below.
The code below is clearly broken; the page author has fixed it so the image tags
actually point to the image (dropping the /../.. parts).
However, the code on the page itself is also not valid HTML 4.01 Strict, as the
doctype declaration claims.
| Reporter | ||
Comment 2•24 years ago
|
||
Alex. I am sorry if it confused you that I had changed the path to the pictures
at the last moment without documenting it. But this shouldn't be a too big
problem as it is clearly documented that you can only test for the bug if you
save both the page and the image on your local harddrive. Viewing the page at
the indicated URL is useless.
Can you indicate where I violate HTML 4.01 Strict. My Mozilla JavaConsole does
not display any waring for this page.
I have uploaded a new version of the page that is a bit more self-explaining.
On my computer the bug happens with this page about once every three reloads.
When I remove the drawpath() code it only happens about once every 15 reloads.
Comment 3•24 years ago
|
||
->layout.
Assignee: asa → attinasi
Component: Viewer App → Layout
QA Contact: asa → petersen
Comment 4•24 years ago
|
||
using the build from 20011128 on winNT, I am not seeing this bug. Also, reporter
the html was not 4.01 strict compliant, to validate your coding, try the
validation tool from the w3c.org website (http://validator.w3.org/). Marking as
wfm, if you can repro this in a current build, please reopen
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Whiteboard: [bae:20011128]
| Reporter | ||
Comment 5•24 years ago
|
||
I tested it with the newest version (build 2001112009) and the problem appeared
to be over.
Thanks,
Wim
Status: RESOLVED → CLOSED
You need to log in
before you can comment on or make changes to this bug.
Description
•