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)
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.
Comment 1•25 years ago
|
||
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
Comment 3•25 years ago
|
||
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
Assignee | ||
Comment 4•25 years ago
|
||
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?
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 5•25 years ago
|
||
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?
Comment 6•25 years ago
|
||
Thanks to Ilya, who put the test page back up. Cheers!
This bug is indeed invalid. We are doing this right thing. Marking 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
•