Closed Bug 144243 Opened 23 years ago Closed 23 years ago

Text color ignored when not in quotes

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: crusher, Assigned: attinasi)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 20020501006 A text color of "Rain Blue" (possibly others as well, did not test) is ignored and displayed as black when it is not embedded in quotes in a <FONT COLOR=...> tag. This is probably not a true bug, but a usability issue as many pages are written with this kind of sloppy HTML. (URL cannot be given as the problem was encountered in a webchat). The color does show correctly in Ntescape 4.7 and IE 5.x Reproducible: Always Steps to Reproduce: 1. Use <FONT COLOR=Rain Blue> in a web page to color a text. Do not use quotes around the color name. 2. Display the web page. Actual Results: The text so colored is displayed in black. Expected Results: The text should have a light blue ("rain blue") color. All settings default. Fresh installation used for less than 2 hours.
I've knocked up a quick testcase (will attach in a mo) based on the description above. Without the quotes, it doesn't work in IE6, Netscape 4.x or Moz. Mostly because the HTML is totally broken. 1) As far as I know "Rain Blue" has NEVER been a valid colour in HTML 2) how does the browser know that you don't mean "color=rain" "blue" as two separate attributes? Unless we can get a better testcase, I'll close this bug as Invalid.
Please save the problem page as "web page, complete", zip up all the files involved, and attach to this bug.
Marking this bug invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: