Closed Bug 3488 Opened 26 years ago Closed 25 years ago

{css1} underline doesn't extend beneath image

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 1777

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
"
Assignee: peterl → kipp
Component: Style System → Layout
Underline rendering code needs to deal with nested images...
Status: NEW → ASSIGNED
Priority: P2 → P3
Summary: underline doesn't extend beneath image → {css1} underline doesn't extend beneath image
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
*** This bug has been marked as a duplicate of 1777 ***
Status: RESOLVED → VERIFIED
Verified dup of #1777
Keywords: css1
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...
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.