Closed
Bug 305405
Opened 19 years ago
Closed 18 years ago
{inc}CSS styled HTML renders inconsistently when loaded from webserver vs local file
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: snowhare, Unassigned)
References
()
Details
(Keywords: testcase, Whiteboard: [reflow-refactor])
Attachments
(6 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc3 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc3 Firefox/1.0.6 When loading a self-contained XHTML page styled using inline CSS, the page renders substantially differently depending on whether it was loaded from a webserver or from a local file. Reproducible: Always Steps to Reproduce: 1. Create inline CSS styled HTML web page using multiple 'float: left;' block styling sections and place on accessible webserver 2. Load locally in tab 3. Load remotely in tab 4. Compare views Actual Results: Locally loaded version rendered as expected with blocks flowing depending on browser window width. Remote page appeared to ignore 'float: left' styling and rendered all styled blocks vertically. I was able to reproduce this behavior both from Firefox 1.0.6 for Windows (Windows XP SP2) and from Firefox for Linux 1.0.6 (Fedora Core 3) Expected Results: Expected identical renders. I am using the default theme: Firefox (default) 2.0 Gerich and Horlander
| Reporter | ||
Comment 1•19 years ago
|
||
This is the file I discovered the bug on. When loaded from a webserver it renders differently than when loaded from a local file. I believe the local behavior to be correct and the server loaded behavior to be incorrect.
| Reporter | ||
Comment 3•19 years ago
|
||
Screenshot of how the HTML test case renders when loaded from a webserver.
Comment 4•19 years ago
|
||
WFM both cases Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050819 Firefox/1.0+ ID:2005081920 Reporter, please try using the latest branch build, and a clean profile. ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/
Component: General → Layout: Block and Inline
Product: Firefox → Core
Version: unspecified → 1.0 Branch
| Reporter | ||
Comment 5•19 years ago
|
||
(In reply to comment #4) > WFM both cases Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) > Gecko/20050819 Firefox/1.0+ ID:2005081920 > > Reporter, please try using the latest branch build, and a clean profile. > > ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/ I downloaded and installed the latest build for WinXP (after uninstalling the 1.0.6). The version reported is Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050821 Firefox/1.0+ I then created a new login account just to test with and loaded both local and remote with it. I got exactly the same results I did before. The local copy renders correctly, the remote copy (loaded by clicking on the 'example' link on <URL:http://nihongo.org/snowhare/utilities/browsercounter/>) does not render correctly. A right-click save of the target page to my local drive renders correctly when opened via 'Open File'. I'm attaching two more screenshots.
| Reporter | ||
Comment 7•19 years ago
|
||
Screenshot of render using 20050821 build on WinXP from remote webserver
Comment 8•19 years ago
|
||
This is quite interesting. Your testcase WFM both clicking on the attachment link and viewing it locally, and sending a direct request for the page to that site also WFM, only by clicking on the example link do I get inconsistent page rendering. I'm not sure what's going on here yet, but I'll look the markup and css further once I have more time. I'll confirm this for now, only under the condition that it occurs by clicking on the example link. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050819 Firefox/1.0+ ID:2005081920
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 9•19 years ago
|
||
The example link worksforme too, in a current trunk build... Benjamin, are you still seeing this in Gecko 1.9a nightly builds?
| Reporter | ||
Comment 10•19 years ago
|
||
(In reply to comment #9) > The example link worksforme too, in a current trunk build... Benjamin, are you > still seeing this in Gecko 1.9a nightly builds? > For whatever reason, the copy on my own webserver no longer appears to show the behavior - but the (identical !!!) attached one on the bugzilla report does (using the nightly for 1.6a1 that I downloaded and installed a couple of minutes ago). Click on the 'Test case file that exhibits the behavior' attachment on the bugzilla report to see it mis-render the layout.
Comment 11•19 years ago
|
||
I did click on it -- it didn't show the problem. Martijn, want to try creating a reproducible testcase here?
Comment 13•19 years ago
|
||
I think I made a testcase just like this one for a similar bug, but I haven't been able to find the bug yet.
Keywords: testcase
Updated•19 years ago
|
Summary: CSS styled HTML renders inconsistently when loaded from webserver vs local file → {inc}CSS styled HTML renders inconsistently when loaded from webserver vs local file
Whiteboard: [reflow-refactor]
Updated•19 years ago
|
QA Contact: general → layout.block-and-inline
Comment 14•18 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20061208 Minefield/3.0a1 ID:2006120812 [cairo] Seems fixed by reflow branch landing
Comment 15•18 years ago
|
||
Weirdness observed with: - Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/2006120606 Minefield/3.0a (pre-reflow branch) (Square black borders are vertically stacked) No weirdness observed with: - Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/2006120804 Minefield/3.0a1 (post-reflow branch) (Square black borders are horizontally aligned) -->RESOLVED FIXED
Comment 16•18 years ago
|
||
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: in-testsuite?
Updated•12 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•