Closed
Bug 456178
Opened 16 years ago
Closed 15 years ago
-moz-border-radius doesn't apply to text fields without explicit borders
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 523041
People
(Reporter: grey, Unassigned)
Details
Attachments
(1 file)
19.78 KB,
text/html
|
Details |
-moz-border-radius rules are ignored without an explicitly set border rule for the same element. Webkit, I believe the only other browser that supports border-radius, will round boxes regardless.
Attached is a demo, with html, and png screenshots of gecko and webkit renders.
This is a question of what styles we look for to see if we should disable -moz-appearance:
http://hg.mozilla.org/mozilla-central/annotate/63bc896857c9/widget/src/xpwidgets/nsNativeTheme.cpp#l157
http://hg.mozilla.org/mozilla-central/annotate/63bc896857c9/layout/style/nsRuleNode.cpp#l5221
In Firefox 3.0 this also applies to other elements like <div>, the corners are not rounded unless a border is set. Strangely enough the border can be 0 pixels and the color can be transparent, which is essentially no border at all, yet then it does work. Safari does not suffer from this issue.
Comment 3•15 years ago
|
||
The same sort of thing affects fieldset but only border-radius. See bug 512966.
Does this belong in Layout, CSS or widget?
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•