Open Bug 573864 Opened 14 years ago Updated 2 years ago

Table border colors changed

Categories

(Core :: Layout: Tables, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: farfly, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a5pre) Gecko/20100511 SeaMonkey/2.1a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a5pre) Gecko/20100511 SeaMonkey/2.1a1

On all other SeaMonkey versions and all other browsers, the table border on this page are white but change to yellow using 2.1a1.

Reproducible: Always

Steps to Reproduce:
1.Go to the above listed webpage
2.Look.
3.
- The page (in HTML 4.01) includes the following <body> tag:
<body bgcolor="#101656" link="#ffffff" text="#ffff00" vlink="#80ffff">
setting the text (i.e. the foreground colour) to #ffff00 i.e.yellow.

- Here's an extract from the W3C 4.01 specification, under http://www.w3.org/TR/1999/REC-html401-19991224/types.html#h-6.5.1 "Notes on using colors":
* Colors specified with the BODY and FONT elements and bgcolor on tables look different on different platforms (e.g., workstations, Macs, Windows, and LCD panels vs. CRTs), so you shouldn't rely entirely on a specific effect. In the future, support for the [SRGB] color model together with ICC color profiles should mitigate this problem.

- I see nothing about colours in the HTML 4.01 specification for table borders http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#borders

I am tempted to conclude that which colour to use for table borders when the colour is not specified by a CSS rule is the browser's choice - Konqueror uses grey but using the text colour (for contrast against the background) looks like a reasonable choice to me.

I'd like a second opinion before resolving this bug INVALID however.
Component: General → Layout: View Rendering
OS: Windows 7 → All
Product: SeaMonkey → Core
QA Contact: general → layout.view-rendering
Hardware: x86 → All
Version: unspecified → Trunk
> and all other browsers

Opera 10.5 shows a yellow border here.

In any case, the behavior here used to be that we showed a gray border in quirks mode (which the page is in), but a yellow border in standards mode.  The quirk was removed in bug 43178, where we switched to just implementing the "border" HTML attribute for tables in terms of CSS borders.

Sounds like an issue to raise with the HTML working group, since this is all about HTML attributes.
Blocks: 43178
Component: Layout: View Rendering → Layout: Tables
QA Contact: layout.view-rendering → layout.tables
After experimenting a bit I find that with SeaMonkey (not 2.1)browsers, IE, FireFox, Chrome, not specifying the table border color results in pretty much the same display, white/grey.  Adding the bordercolor= statement results in no change to SeaMonkey (not 2.1), FireFox or Chrome.  IE displays the new color, SeaMonkey 2.1 still displays yellow.
> Adding the bordercolor= statement

See bug 573960.
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.