Closed Bug 128883 Opened 22 years ago Closed 22 years ago

css attributes not propogating to TD tags

Categories

(Core :: Layout: Tables, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: devon.miller2, Assigned: karnaze)

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204
BuildID:    2002020406

Font-style attributes set as body { font-style : italic; } do not propogate to
text inside tables. However, body { color: red; } does.


Reproducible: Always
Steps to Reproduce:
1. Load the attached example
2.
3.

Actual Results:  Text before and after the table is red and italic
Text inside the table is red and normal

Expected Results:  Text inside the table should be red and italic

I've looked through the CSS 1 & 2, but have not been able to find anything that
says this is the expected behavior.

This might be related to the following bugs:
128339
110764
This is an example of the behavior that I believe is a bug
I'm marking this as INVALID.
I didn't realize that:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
was not enough to put the browser into standards mode
I changed the doctype to this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
And I am seeing the correct behavior now.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: