Closed Bug 297429 Opened 20 years ago Closed 20 years ago

Page loses a td width or CSS width attribute after many refreshes

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: githlar, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

In the link attached to this bug the page should have some white space on both
sides of the main text. However, sometimes when you load it, the text is
touching the left-hand menu bar and the right-hand edge of the screen. To see
this, start refreshing a lot. It validates with W3's CSS and XHTML 1.1
validator, so it's not a problem with my hypertext. As near as I can figure,
it's not loading the CSS width attribute of (XPATH
/html/body/table/tbody/tr/td[2]/table) that is inside the 'style' tag attribute.
This just happens occasionally. I tested it in IE, but I didn't see the same
effect after 50+ refreshes.

Reproducible: Sometimes

Steps to Reproduce:
1. Go to http://68.103.43.67:8570/tutorial/index.php?tutorial=1
2. The tutorial is in an 80% centered table inside of a <td>. There should be
some space between the edges of the tutorial text and the edges of the <td>
3. Keep refreshing the page and more than likely you'll see it within the first
15-20 refreshes. The text will touch the edges of its containing <td>, making it
much wider than it should be. When you refresh again, it will return to normal.

Actual Results:  
The text widens and touches the edges of it's containing <td>

Expected Results:  
Firefox should have read the attributes in the hypertext correctly. I assume
that's the problem.
I made a mistake. The CSS width attribute isn't on a <td> it's on a <table> like
so: <table style="width:80%">
Summary: Sometimes CSS width attribute in style attribute doesn't load correctly → Page loses a td width or CSS width attribute after many refreshes
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050611
Firefox/1.0+ ID:2005061110

WFM

I kept on refreshing and counting  .. up to 50
And it didn't distort at all?
(In reply to comment #3)
> And it didn't distort at all?
No

Please don't file layout bugs with 1.0.4 since it uses gecko 1.7 which is over
one year old layout engine. 

Please reopen if  you can reproduce this with a (can be unstable) trunk build
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.