Closed
Bug 40575
Opened 25 years ago
Closed 25 years ago
Anchor link background color fails to paint across width specified by CSS
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: bugzilla, Assigned: clayton)
Details
Attachments
(1 file)
|
292 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m15)
BuildID: 2000041805
When the background-color and width properties of an Anchor link are set using
CSS, the background color is only visible behind the anchor link text. It should
display across the specified percentage of the parent element's width.
Reproducible: Always
Steps to Reproduce:
1. Create a HTML file containing an Anchor link with the style properties (for
example) background-color: yellow; width=100%
Actual Results: The background color does not extend to 100% of the width of
the parent element.
Expected Results: The background color should extend to 100% of the width of
the parent element.
<A style="width=100%; background-color: yellow"
href="http://www.me.com">Background color should extend across width of parent
element</A>
| Reporter | ||
Comment 1•25 years ago
|
||
The 'width' property does not apply to inline non-replaced elements. See CSS2
section 10.3.1. Marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
You need to log in
before you can comment on or make changes to this bug.
Description
•