Closed Bug 69072 Opened 24 years ago Closed 24 years ago

doctype tag prevents font color tag from working

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: bbyer, Assigned: karnaze)

Details

The following produces red text: <html> <font color="ff0000">spam</font> </html> The following produces unstyled text: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> <font color="ff0000">spam</font> </html> I'm not sure if that is correct behavior, but it differs from Netscape 4.x and IE behavior. Thanks!
Apart from the missing HEAD, BODY and the fact that the FONT tag shouldn't be used in HTML4, the example works if you insert the "#" befre the color code: <font color="#ff0000">spam</font> Ommitting the DOCTYPE declaration causes Mozilla to use Quirks Mode, so that it show some more non-standard but NS4.x-like behavior. Proposing WONTFIX.
INVALID. (Note: <BODY> and <HEAD> are optional tags.)
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
verf. missing # causes color not to render.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.