Index of /test/html/parsing/color-attributes

      Name                    Last modified      Size  Description
Parent Directory - 001-second-pass/ 2007-07-05 14:43 - 001.htm 2007-05-14 17:47 1.7K color attributes parsing in quirks mode 002.htm 2007-05-14 16:00 170 003.htm 2007-05-14 16:10 150 004.htm 2007-05-14 16:13 185 005.htm 2007-05-14 16:13 170 006.htm 2007-05-14 16:18 73 007.htm 2007-05-14 16:18 77 008.htm 2007-05-17 11:00 128 leading whitespace: " lime" 009.htm 2007-05-17 11:00 128 leading whitespace: " xxff" 010.htm 2007-05-17 11:00 134 leading whitespace: " #00ff00" keywords/ 2007-07-05 12:33 - the-algorithm/ 2007-09-17 10:29 -
* * *

Please see http://simon.html5.org/test/html/rendering/color-attributes/
and http://simon.html5.org/specs/html-color-attributes instead.

* * *

This actually has nothing to do with parsing. It is post parsing
processing that even shouldn't affect the DOM or what the DOM attributes
return on getting (unless it is shown that what the DOM attributes return
on getting matters for compat). (Originally I thought this had to do with
parsing, which is why these tests are now misplaced...)



http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2007-July/012127.html



These attributes are parsed as color attributes:


ie7

<basefont color>
<body alink>
<body bgcolor>
<body link>
<body text>
<body vlink>
<font color>
<frame bordercolor>
<frameset bordercolor>
<hr color>
<marquee bgcolor>
<table bgcolor>
<table bordercolor>
<table bordercolordark>
<table bordercolorlight>
<tbody bgcolor>
<td bgcolor>
<td bordercolor>
<td bordercolordark>
<td bordercolorlight>
<tfoot bgcolor>
<th bgcolor>
<th bordercolor>
<th bordercolordark>
<th bordercolorlight>
<thead bgcolor>
<tr bgcolor>
<tr bordercolor>
<tr bordercolordark>
<tr bordercolorlight>


gecko

<body alink>
<body bgcolor>
<body link>
<body text>
<body vlink>
<font color>
<frame bordercolor>
<frameset bordercolor>
<hr color>
<marquee bgcolor>
<table bgcolor>
<table bordercolor>
<tbody bgcolor>
<td bgcolor>
<tfoot bgcolor>
<th bgcolor>
<thead bgcolor>
<tr bgcolor>


opera 9.2

<a alink>
<a bgcolor>
<a color>
<a link>
<a text>
<a vlink>

...those attributes on all recognized html elements.


opera 9.5, safari

(none)