Closed Bug 388071 Opened 17 years ago Closed 13 years ago

link colors set by html attributes ignored in XHTML documents

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 589615

People

(Reporter: apedralho, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a6) Gecko/20070629 GranParadiso/3.0a6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a6) Gecko/20070629 GranParadiso/3.0a6

When there is a deprecated attribute set in a XHTML page it is ignored.

For example the alink attribute:

<body alink="lime">

If there is a link in that page when it is clicked down its color is changed to red (which is the default action).

Reproducible: Always

Steps to Reproduce:
1. Open a XHTML page that contains a deprecated attribute (e.g alink)
2. Try the functionality of this attribute (e.g if it is 'alink', click down a link in the page)
Actual Results:  
The default action is taken (not the action defined by the attribute).

Expected Results:  
The action of the defined attribute should be taken.
Attached file alink usage example
Changing product from Firefox to core.
Component: General → Layout: Fonts and Text
Product: Firefox → Core
QA Contact: general → layout.fonts-and-text
A short test revealed that this is true for link, alink and vlink, but not for bgcolor, text or img@align. Different color values also don't give a different result.

Opera and Safari work as expected.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Linux → All
Hardware: x86 → All
Summary: Deprecated XHTML attributes are not supported → link colors set by html attributes ignored in XHTML documents
Version: unspecified → Trunk
Component: Layout: Text → Style System (CSS)
QA Contact: layout.fonts-and-text → style-system
Microsoft should write more tests :)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: