User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401 When switching from the default stylesheet to the alternate stylesheet on XML pages (using the xml-stylesheet processing instruction), the page goes blank when the alternate stylesheet is selected. This is not a stylesheet problem, as the alternate one works when it is placed firts in the order. Reproducible: Always Steps to Reproduce: 1. Go to http://contributors.tgministries.org/current/ShortStudies/BeingPartOfTheBody.xml 2. Choose "View" -> "Use Style" -> "Normal" Actual Results: Page becomes blank Expected Results: Page should re-render with the new stylesheet
I see the bug on WinXP too, using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030804
I see this also on LInux 2003080405
Confirming bug, 2003-08-01-05 trunk Linux. Also, if you change back to the initial stylesheet (that worked the first time) the page it is still blank. -> Style System
The sheets both put blocks inside an inline root; we have some issues with dynamic changes in those circumstances...
I modified the page to make the root a block, and the problem goes away. I don't know if this is a bug or not, then, as I'm not sure what CSS says about whether or not the root element can be an inline element.
Would this bug affect more than XML pages? Several people (including me) have been seeing HTML pages missing the majority of their content (though the content often shows up if the page is reloaded), and the latest hypothosis is that it is related to the page having multiple alternate style sheets. The bug does not appear to affect everyone, and it also appears to sporadically appear and disappear. For instance, the mozilla-firebird pages have exhibited this problem for me in the past (and quite consistently for a while), but recently they started to render properly without fail. During this "OK" time a completely different site (that used multiple alternate style sheets on the HTML) started to render as consistently "empty", and then days later the problem is not reproducable (and the CSS code did not change on this second site). Very weird.
:root should never be able to become inline, btw
This works for me on a current build, even without the patch to bug 233480.
That's because the page was changed to use display:block...... Attached testcase shows the problem here.
Fixed by checkin of bug 233480.