Closed Bug 265328 Opened 20 years ago Closed 20 years ago

Mozilla FF does not honor background color (specified by name) in CSS for XHTML produced by XSLT

Categories

(Core :: Layout, defect)

Other Branch
x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: richard.musil, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041016 Firefox/0.10.1

Rendering of XHTML page which is produced as the result of XSLT on XML "on the 
fly" does not honor background color specified by name in CSS.

Reproducible: Always
Steps to Reproduce:
1. Use enclosed zipped files to reproduce the bug.
2. Open report.xml
3.

Actual Results:  
Background rendered white.

Expected Results:  
Background rendered in color specified in CSS. ("lightgray")

When using color code #D3D3D3, the page has specified background color only on 
window containing the text - not the whole page.
> When using color code #D3D3D3, the page has specified background color only on 
> window containing the text - not the whole page.

That is correct.  You should apply the background to <html>, not <body>.

I think there's a bug already on the other color issue here, but I couldn't find it.
Assignee: firefox → nobody
Component: General → Layout
Keywords: qawanted
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Other Branch
"lightgray" is not a valid color name in CSS. See:
http://www.w3.org/TR/CSS21/syndata.html#value-def-color

Suggesting INVALID.
I was inspired by:
http://www.webcolors.freeserve.co.uk/names140.htm
but probably ventured too far (CSS3). So after clarifications I am changing the
status.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: