Closed
Bug 123895
Opened 24 years ago
Closed 21 years ago
{ib} CSS only read on initial load - broken on view -use stylesheet
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: DaleD, Unassigned)
Details
(Keywords: regression, testcase, Whiteboard: {ib})
Attachments
(7 files, 1 obsolete file)
Note netscape 6.1 works but Mozella 0.9.0 build 2002020516 is broken.
I have a xml file with multiple stylsheets:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE PPDF SYSTEM "ppdf.dtd">
<?xml-stylesheet title="no comments" href="nppdf.css" type="text/css" ?>
<?xml-stylesheet alternate="yes" title="comments" href="ppdf.css"
type="text/css"?>
<!-- @(#)$Id: ppdf.xml,v 1.1 2002/02/02 01:54:19 daled Exp $ -->
When the page appears the stylesheet is read properly but if I go to the view
menu and select use stylesheet the data is mostly missing, no matter what I
select. There are a few top level before tags displayed but nothing else. Even
if I select none. If I select none the very first time then some of the data
looks ok but the top level ":before" tags mentioned before are interpreted
anyway and after selecting any other format nothing will change the display.
Comment 1•24 years ago
|
||
Reporter,
Please provide a reduced test case of this problem with any steps you can
provide. This would help us understanding the issue you described.
Comment 2•24 years ago
|
||
Even just a url to the full page in question would help...
| Reporter | ||
Comment 3•24 years ago
|
||
read the readme
Updated•24 years ago
|
Attachment #68557 -
Attachment mime type: application/octet-stream → application/zip
Comment 4•24 years ago
|
||
Attachment #68557 -
Attachment is obsolete: true
Comment 5•24 years ago
|
||
Comment 6•24 years ago
|
||
Comment 7•24 years ago
|
||
Comment 8•24 years ago
|
||
Comments in stylesheets are /* comment */ just like in C. I took the liberty of
adding those to the sheets as seemed needed; this bug is not affected.
To test, just load attachment 68565 [details] (the testcase XML). Wait for it to load,
then change stylesheets. Everything disappears except the top-level elements as
Dale says. Seeing this on linux 2002-02-07-07 nightly build.
Adding
PPDF { display: block }
to both sheets fixes the problem; looks like more block-inside-inline stuff.
Over to layout.
Assignee: heikki → attinasi
Status: UNCONFIRMED → NEW
Component: XML → Layout
Ever confirmed: true
OS: Solaris → All
Hardware: Sun → All
Whiteboard: {ib}
Updated•24 years ago
|
Target Milestone: --- → mozilla1.1
Comment 9•24 years ago
|
||
Adding regression keyword since this test works fine in 6.2.1.
Keywords: regression
Comment 10•24 years ago
|
||
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
Comment 13•24 years ago
|
||
With the sample xml test:
The first PI has a title of "foo" , the second PI has a title of "number"
<?xml-stylesheet type="text/css" title="foo" href="1.css"?>
<?xml-stylesheet type="text/css" alternate="yes" title="number" href="2.css"?>
Selecting "number" from the Use Stylesheet menu (View) will cause the content to
disappear.
Comment 14•24 years ago
|
||
Marking nsbeta1-. failure depends on what's being done in the style sheet. May
be related to setting the display type.
Comment 15•24 years ago
|
||
http://www.musicalschwartz.com/
http://www.mozilla.org/
Style sheet does not appear to load and the page displays without the CSS.
Sometimes I get a blank page but the page on the site will load if I add the
exact filename of the page to the URIs (index.htm for the first and index.html
for the second URI). The loading of the stylesheet problem seems to be related
to the stylesheet being in a different directory than the Web page over an http
connection. The same relative directory structure when read off my hard drive
(for the first URI above) displays without fault. Pages accessed over http with
the stylesheet in the same directory as the HTML file display normally. This
behavior appeared in recent builds leading up to 0.9.9. My system: Mozilla 0.9.9
on Windows 95 with modem connection.
Updated•24 years ago
|
Priority: -- → P2
Comment 16•23 years ago
|
||
Testcase now worksforme... Dale, are you seeing this problem with current builds?
Assignee: attinasi → block-and-inline
Component: Layout → Layout: Block & Inline
Priority: P2 → --
QA Contact: cpetersen0953 → ian
Summary: CSS only read on initial load - broken on view -use stylesheet → {ib} CSS only read on initial load - broken on view -use stylesheet
Target Milestone: mozilla1.1alpha → ---
Comment 17•21 years ago
|
||
WORKSFORME. Please reopen if you are still seeing this.
You need to log in
before you can comment on or make changes to this bug.
Description
•