Closed Bug 334398 Opened 19 years ago Closed 19 years ago

Style rule in stylesheet element in xbl doesn't have precedence over ordinary style rule

Categories

(Core :: XBL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: martijn.martijn, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

942 bytes, application/vnd.mozilla.xul+xml
Details
See upcoming testcase. I expect a green background color, but it is red in Mozilla. This also happens in Mozilla1.7.
Attached file testcase
This is "by-design" as far as I can tell. The idea is that the XBL-provided rules are at the level between preshints and document rules. It's been that way since 2000 or so, as far as I can tell. In fact ever since the fix for bug 21890 introduced the current way of XBL styling.
Ok, feel free to wontfix it. But this doesn't seem logical to me.
It's logical because the XBL stylesheets provide default styling for the widget. If the XBL then doesn't want the widget to be styled further by the document, it can say so, of course.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: