Closed
Bug 3488
Opened 26 years ago
Closed 25 years ago
{css1} underline doesn't extend beneath image
Categories
(Core :: Layout, defect, P3)
Tracking
()
M15
People
(Reporter: ekrock, Assigned: buster)
References
()
Details
(Keywords: css1)
Seamonkey 3/2 build, viewer.
"Text decorations only apply to the text of an element, so the image at the end
of this sentence should not be overlined: . The underline of the parent element
should hold true beneath the image, however, since text-decoration 'spans' child
elements.
The
"
Updated•26 years ago
|
Assignee: peterl → kipp
Component: Style System → Layout
Comment 1•26 years ago
|
||
Underline rendering code needs to deal with nested images...
Updated•25 years ago
|
Summary: underline doesn't extend beneath image → {css1} underline doesn't extend beneath image
Comment 4•25 years ago
|
||
Actually, if the underlining is implemented correctly (that is: just by drawing
a line at a fixed offset from the baseline of the inline box which has the
text-decoration applied), then images do not need any special behaviour.
See also:
http://www.bath.ac.uk/%7Epy8ieh/internet/eviltests/underline.html
Children should have *no* effect on the underlining.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 6•25 years ago
|
||
Verified dup of #1777
Comment 7•25 years ago
|
||
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz}
radars should now be considered deprecated in favour of keywords.
I am *really* sorry about the spam...
Comment 8•25 years ago
|
||
I don't think this is valid. CSS2 is quite plain: If the element has no content
or no text content (e.g., the IMG element in HTML), user agents must ignore this
property.
It would be senseless to take this as meaning that one should not underline
images when you specify that they should be underlined, but to underline them
when you do not (by reason of an ancestor with t-d set).
You need to log in
before you can comment on or make changes to this bug.
Description
•