Closed
Bug 313895
Opened 19 years ago
Closed 19 years ago
Render Mode changes betweet quirks and standards compliant irregularly
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
DUPLICATE
of bug 261892
People
(Reporter: bugzilla, Assigned: mrbkap)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Press Reload several times, sometimes the page is rendered in quirks mode instead of standards compliant mode. It happens very irregularly. Tested with the nightly build of Deer park as of 26.10.05, the problem occurs there too.
Reproducible: Sometimes
Steps to Reproduce:
Reporter | ||
Comment 1•19 years ago
|
||
Very strangely, the problem does not occur when accessing html file:
http://pstoever.de/test.html
The only difference between the files is that in the php file the xhtml header is being written with php.
Comment 2•19 years ago
|
||
WFM, consistently CSS1Compat mode. Please try retesting with the latest firefox beta.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051026 Firefox/1.6a1 ID:2005102605
Reporter | ||
Comment 3•19 years ago
|
||
Installed firefox beta 2 ans still getting the problem.
Here's an automated test:
http://pstoever.de/test2.php
Reporter | ||
Comment 4•19 years ago
|
||
The numbers from this automated test vary greatly.
Now I'm getting
CSS1: 136 BackCompat: 219
Comment 5•19 years ago
|
||
Left this for a while:
rendering mode: CSS1Compat countingCSS1Compat: 428 BackCompat:
I suggest you test in firefox's safe mode. Also please give the build ID of the beta you are testing with.
Comment 6•19 years ago
|
||
I'm seeing this with a latest trunk build:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051026 Firefox/1.6a1 ID:2005102604
OS: Windows XP → All
Hardware: PC → All
Reporter | ||
Comment 7•19 years ago
|
||
tested it with fresh profile and this build:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051026 Firefox/1.6a1
problem persists
Comment 8•19 years ago
|
||
CSS1Compat: 2293 BackCompat: 432
on
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Comment 9•19 years ago
|
||
Tested in latest branch too:
rendering mode: CSS1Compat countingCSS1Compat: 630 BackCompat:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051026 Firefox/1.5 ID:2005102603
Comment 10•19 years ago
|
||
The problem here seems to be that the code for locating and parsing the DOCTYPE is sometimes called before the line containing the DOCTYPE was read from the socket. I assume this helps with the PHP but not with a static file is that the PHP flushes the socket after the XML declaration (the first line).
I'm pretty sure I saw a similar bug report before. I'll look for it.
Comment 11•19 years ago
|
||
See bug 268442 (which uses JavaScript to create the same kind of problem) , especially bug 268442 comment #2 (which says "this bug can be reproduced with network packets too" - presumably the case with the current example).
BZ, mrbkap - should this be dupe of 268442, or do you want it as a separate bug?
![]() |
||
Comment 12•19 years ago
|
||
Probably worth keeping as a separate bug.
Assignee: nobody → mrbkap
Component: General → HTML: Parser
Product: Firefox → Core
QA Contact: general → parser
Version: unspecified → 1.0 Branch
![]() |
||
Updated•19 years ago
|
Version: 1.0 Branch → Trunk
Comment 13•19 years ago
|
||
Bug 261892 seems to describe this exact issue. marking duplicate.
*** This bug has been marked as a duplicate of 261892 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•