Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Removal of the NN4.6 table border color quirk
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bernd  
View profile  
 More options Oct 21 2006, 7:27 am
Newsgroups: mozilla.dev.tech.layout
From: Bernd <bernd_mozi...@gmx.de>
Date: Sat, 21 Oct 2006 13:27:24 +0200
Local: Sat, Oct 21 2006 7:27 am
Subject: Removal of the NN4.6 table border color quirk
I would like to remove the table border color quirk that makes the
border color dependent on the background. The quirk is a pure NN4.6 quirk.

In quirks mode the following markup will produce a green border instead
of a gray (default) one.

<div style="background-color:green">
<table border="10">
<tr><td>foo</td></td>
</table>
</div>

There are two reasons why this should be removed:
1.) IE does not do this
2.) This creates problems when CSS is applied to the table as depending
on the actual background-color violates the CSS principles.
3.) This quirk is a major obstacle for
https://bugzilla.mozilla.org/show_bug.cgi?id=43178

The removal will include:
- removal of the quirk handling in content,
- removal of  NS_STYLE_BORDER_STYLE_BG_OUTSET,
NS_STYLE_BORDER_STYLE_BG_INSET
- removal of -moz-bg-outset -moz-bg-inset
- removal of the corresponding code paths in nsCSSRendering
- use of the quirks color shades in standards mode, they are brighter
than the existing standards mode color shades and match IE.

There is NS_STYLE_BORDER_STYLE_BG_SOLID which is used for <hr> tags this
one will remain. So the code removal will not reach its full potential.

The benefits are:
Code removal, better CSS styling even in quirks mode, IE compatibility

The risks is:
We will break pages that rely on this quirk. However to get the border
color cross browser people have used a workaround before.

Any objections?

Bernd


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Boris Zbarsky  
View profile  
 More options Oct 22 2006, 11:48 am
Newsgroups: mozilla.dev.tech.layout
From: Boris Zbarsky <bzbar...@mit.edu>
Date: Sun, 22 Oct 2006 10:48:01 -0500
Local: Sun, Oct 22 2006 11:48 am
Subject: Re: Removal of the NN4.6 table border color quirk

Bernd wrote:
> - use of the quirks color shades in standards mode, they are brighter
> than the existing standards mode color shades and match IE.

What does that correspond to as a code change?

> Any objections?

Sounds pretty good, in general.  ;)

-Boris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bernd  
View profile  
 More options Oct 22 2006, 1:28 pm
Newsgroups: mozilla.dev.tech.layout
From: Bernd <bernd_mozi...@gmx.de>
Date: Sun, 22 Oct 2006 19:28:25 +0200
Local: Sun, Oct 22 2006 1:28 pm
Subject: Re: Removal of the NN4.6 table border color quirk
Boris Zbarsky schrieb:
> Bernd wrote:
>> - use of the quirks color shades in standards mode, they are brighter
>> than the existing standards mode color shades and match IE.

> What does that correspond to as a code change?

http://lxr.mozilla.org/seamonkey/source/layout/base/nsCSSColorUtils.c...
get rid of NS_Get3DColors and make  NS_GetSpecial3DColors return the
same Values as IE or at least the same as NS_Get3DColors for a white
background and black background.

Bernd


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Boris Zbarsky  
View profile  
 More options Oct 22 2006, 2:44 pm
Newsgroups: mozilla.dev.tech.layout
From: Boris Zbarsky <bzbar...@mit.edu>
Date: Sun, 22 Oct 2006 13:44:38 -0500
Local: Sun, Oct 22 2006 2:44 pm
Subject: Re: Removal of the NN4.6 table border color quirk

Bernd wrote:
> http://lxr.mozilla.org/seamonkey/source/layout/base/nsCSSColorUtils.c...
> get rid of NS_Get3DColors and make  NS_GetSpecial3DColors return the
> same Values as IE or at least the same as NS_Get3DColors for a white
> background and black background.

So right now, when is each of the two used?  We seem to use NS_Get3DColors for
inset/outset and NS_GetSpecial3DColors for ridge/groove?  Or something else?

-Boris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »