Closed
Bug 20102
Opened 25 years ago
Closed 25 years ago
Broken inline style sheets within <font>tag
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: petecloss, Assigned: pierre)
References
()
Details
I use inline style sheets on my site to remove the underline from the links on
the left menu. Under Mozilla 5 this didn't originally work as the
style="text-decoration: none" was within the font tag. This was only fixed when
the in-line style sheet was moved into the a href tag.
All the menu linkson the left of my site now display properly under M11 after I
fixed this problem except for the last one which I have left intentionally
broken to demonstrate the problem.
The inline style sheet to remove underlines works fine under NS 4.7 and IE 5.
Summary: Broken inline style sheets within <font>tag → Broken inline style sheets within <font>tag
This is not a bug, since according to CSS1, text-decoration should span child
elements.
I recommend resolving this bug as invalid (although I don't like that part of
CSS.)
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 2•25 years ago
|
||
Correct: the underline attribute is associated to the :link pseudo-class (ie. <a
href> tags) and spans child elements. The effect can be better seen with a code
such as:
<a href="http://www.portent.net"><font face="Arial" size="2" style="color:
green"><b>Tactics</b></font></a><br>
The word "Tactics" appear in green while the underline is still in blue.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 3•25 years ago
|
||
Verified invalid
You need to log in
before you can comment on or make changes to this bug.
Description
•