Bug 7737 - Links are invisible (rendered white on white)
Summary: Links are invisible (rendered white on white)
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://milanotrasporti.ferrovie.ch/
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2006-03-12 07:25 PST by Morten Norby Larsen
Modified: 2020-12-22 15:14 PST (History)
4 users (show)

See Also:


Attachments
HTML page which shows the problem (15.75 KB, text/html)
2006-03-12 07:26 PST, Morten Norby Larsen
no flags Details
Reduction (317 bytes, text/html)
2006-03-12 16:12 PST, Ingo Chao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Morten Norby Larsen 2006-03-12 07:25:04 PST
There are clikcable links to the right of the dates, but they are not visible.
Comment 1 Morten Norby Larsen 2006-03-12 07:26:28 PST
Created attachment 7025 [details]
HTML page which shows the problem

This is just the page saved, in case the webmaster changes the code to fix the problem on his side.
Comment 2 Alexey Proskuryakov 2006-03-12 08:27:15 PST
HTML here is quite broken - several nested <head>, <body>, <html> elements...

Additionally, we have a regression in ToT - Select All doesn't select anything. This may warrant a separate P1 bug report.
Comment 3 Alexey Proskuryakov 2006-03-12 09:05:37 PST
More specifically, the first <body> specifies link="#FF0000" (red), and the second specifies link="#FFFFFF" (white).
Comment 4 mitz 2006-03-12 09:42:29 PST
(In reply to comment #3)
> More specifically, the first <body> specifies link="#FF0000" (red), and the
> second specifies link="#FFFFFF" (white).
> 

The parser correctly doesn't overwrite the first <body>'s link attribute with the second's (it only applies additional attributes). This works well with most attributes, but with link, alink, vlink and some on* attributes, HTMLBodyElementImpl::parseMappedAttribute() applies the attributes directly to the document early on.
Comment 5 Ingo Chao 2006-03-12 16:12:35 PST
Created attachment 7035 [details]
Reduction

Reduction.

The inner body has 'text' attribute set, the outer body has not. The inner link attributes overwrite the outer. 

If the inner 'text' attribute is removed (or if the outer 'text' attribute is set too), then the inner link attributes won't overwrite the outer anymore. 

The behavior is identical to IE5.2Mac, and unlike Fx1.5.0.1 and Opera8.51
Comment 6 Sam Sneddon [:gsnedders] 2020-12-22 15:14:46 PST
Presumably fixed by the move to the now specified HTML parser.