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)

defect
Not set
normal

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.
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.
Even just a url to the full page in question would help...
read the readme
Attachment #68557 - Attachment mime type: application/octet-stream → application/zip
Attached file Primary stylesheet
Attachment #68557 - Attachment is obsolete: true
Attached file Testcase XML
Attached file The readme
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}
Target Milestone: --- → mozilla1.1
Adding regression keyword since this test works fine in 6.2.1.
Keywords: regression
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.
Marking nsbeta1-. failure depends on what's being done in the style sheet. May be related to setting the display type.
Keywords: nsbeta1nsbeta1-
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.
Priority: -- → P2
Keywords: testcase
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 → ---
WORKSFORME. Please reopen if you are still seeing this.
Status: NEW → RESOLVED
Closed: 21 years ago
Keywords: nsbeta1-
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: