Closed Bug 42094 Opened 25 years ago Closed 25 years ago

A span with background-color specified is not properly painted.

Categories

(Core :: Layout, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED INVALID
Future

People

(Reporter: bugzilla, Assigned: erik)

References

()

Details

(Keywords: compat, testcase)

BuildID: 20000608 The page has a link in a huge font inside of a span. The span's background- color is specified with a style. The background-color of the link is painted only on the bottom portion, determined by the height of the default font. Reproducible: Always Steps to Reproduce: Load the page. Link's background-color is painted on the bottom portion only. Actual Results: Link's background-color is painted on the bottom portion only. Expected Results: Link's background-color is painted throughout the entire area of the link.
COnfirming, updating component and setting defualt owner. this might be layout territory, not sure.
Assignee: asa → clayton
Status: UNCONFIRMED → NEW
Component: Browser-General → HTML Element
Ever confirmed: true
QA Contact: doronr → petersen
Reassigning to Nisheeth for further triage.
Assignee: clayton → nisheeth
Part of clayton bug list triage. Erik, it seems that we are using the height of the text around the link to calculate the height of the line even though the link text's height is larger. Erik, since you are the new owner of text layout, re-assigning to you... Ccing buster and waterson.
Assignee: nisheeth → erik
Ian, I'm not sure about the CSS compliance issues in this one. Are we supposed to paint the background at the SPAN's height, or the A's height?
Status: NEW → ASSIGNED
Target Milestone: --- → Future
The testcase is no longer available, but based on the initial description, it seems to me we are doing the right thing. To get the effect wanted, the A element should inherit the background of the SPAN, but by default it is 'transparent', not 'inherit'. INVALID?
Whiteboard: INVALID?
Thanks to Ilya, who put the test page back up. Cheers! This bug is indeed invalid. We are doing this right thing. Marking INVALID.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Keywords: compat, testcase
Resolution: --- → INVALID
Whiteboard: INVALID?
massive update for QA contact.
QA Contact: petersen → lorca
Marking VERIFIED.
Status: RESOLVED → VERIFIED
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.