[quirks]Changing foreground colour does not affect the table content

RESOLVED FIXED

Status

()

Core
CSS Parsing and Computation
P3
normal
RESOLVED FIXED
17 years ago
15 years ago

People

(Reporter: kirun, Assigned: David Hyatt)

Tracking

({regression, testcase})

Trunk
x86
All
regression, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [ruletree])

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

17 years ago
Build 2001070904

When a page is first loaded, changing the foreground colour on a page will
change the colour of all elements, including the contents of tables. However,
after the background colour has been changed, only the elements outside of
tables are changed.
(Reporter)

Comment 1

17 years ago
Created attachment 41815 [details]
Demonstration of problem

Comment 2

17 years ago
Confirmed marking NEW on win2k. Mucho strange.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Changing background colour breaks foreground colour changes → Changing background colour breaks foreground colour changes
This seems to be a weird interaction of our table quirks with the code being
used.... (not a problem in strict mode)
OS: Windows 95 → All
Summary: Changing background colour breaks foreground colour changes → [quirks]Changing background colour breaks foreground colour changes
I don't see this problem (Win2k), but if it's still there, it's a layout bug.
Over to layout for further investigation.
Assignee: jst → karnaze
Component: DOM Style → Layout
QA Contact: ian → petersen
I suspect this is actually a style system problem related to the application of
the document color rule.  Does that make sense?
Assignee: karnaze → pierre
Component: Layout → Style System
QA Contact: petersen → ian

Comment 6

17 years ago
It appears to be a regression from the rule tree landing (bug 78695).
Assignee: pierre → hyatt
Blocks: 91672
Keywords: regression
Whiteboard: [ruletree]
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0

Comment 7

16 years ago
->98
Target Milestone: mozilla1.0 → mozilla0.9.8
Now the foreground of the table never changes (using yesterday's Linux CVS),
regardless of whether or not it's done first.
Keywords: testcase
Depends on: 116161
Fixed by checkin of bug 116161 at 2002-01-07 15:45/46 PST.
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 10

15 years ago
David, Boris --

before i mark this bug verified , i need to clarify something .....

currently on win 2k ... build ID :- 2002-10-14-08trunk :-
in QUIRKS mode : the foreground of the table never changes.
in STRICT mode : the foreground of the table always changes.

What is the required behaviour ?  Please ... answers would be appreciated. Thx!
Priority: -- → P3
Hmm... I'm not sure how the quirks-mode cascading-in-tables stuff should be
affecting this testcase....

Comment 12

15 years ago
Chris Karnase --
can u answer this question (comment 10), please ?

Comment 13

15 years ago
IE changes the foreground color, so there is a bug in quirks mode. I'm not sure
if that should be a new bug or this one should be reopened.

Comment 14

15 years ago
I am reopening this bug.

in QUIRKS mode
==============
change the foreground color and background color.
::::::::actual::::::
1.Text lying outside the TABLE changes foreground color
2.Text within the table cell never changes color 

::::::::expected::::::: 
All the text should change foreground color.

in STANDARDS mode
=================
change the foreground color and background color.
:::::::actual & expected::::::: 
All the text changes foreground color.

Please see attached testcase (with STRICT DTD)

NOTE: IE and Opera do not show the bug in quirks mode
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: [quirks]Changing background colour breaks foreground colour changes → [quirks]Changing foreground colour does not affect the table content

Comment 15

15 years ago
Created attachment 105203 [details]
with "strict dtd"

attachment 41815 [details] : in QUIRKS mode
this testscase	 : in STANDARDS mode

Comment 16

15 years ago
Created attachment 105204 [details]
with "strict dtd"

attachment 41815 [details] : in QUIRKS mode
this testscase	 : in STANDARDS mode
Target Milestone: mozilla0.9.8 → ---
Attachment #105203 - Attachment is obsolete: true
The problem here is that we need to detect any arbitrary style changes on the
BODY element that lead to its color changing.

Updated

15 years ago
Depends on: 94688
Fixed by patch to bug 94688.
Status: REOPENED → RESOLVED
Last Resolved: 16 years ago15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.