Closed Bug 314909 Opened 20 years ago Closed 19 years ago

CSS styling of XUL elements is incomplete

Categories

(Core :: XUL, defect)

1.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: js177634, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.10) Gecko/20050730 Firefox/1.0.6 (Debian package 1.0.6-2) Build Identifier: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.10) Gecko/20050730 Firefox/1.0.6 (Debian package 1.0.6-2) The CSS styling of form elements in XUL is not comparable with the HTML forms. The testcase shows a blue button which should also have (dark and bright) blue border colours. For demonstration purposes, the width of the button is set to 15 pixels. It's blue in the HTML version, but still grey in the XUL version, although the surface attribute is used correctly in XUL, just the border attributes are not applied. Maybe this is part of a general problem of HTML vs. XUL being out of sync, or maybe this is just this special case I stumbled upon. Reproducible: Always
Component: General → XP Toolkit/Widgets: XUL
Product: Firefox → Core
QA Contact: general → xptoolkit.xul
Version: unspecified → 1.0 Branch
XUL buttons can use -moz-border-colors, which you didn't unset. And that overrides the border-color. So the behavior is as expected.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.