HTML presentational elements' styles can be overriden by user styles

VERIFIED DUPLICATE of bug 2942

Status

()

Core
CSS Parsing and Computation
P3
normal
VERIFIED DUPLICATE of bug 2942
17 years ago
17 years ago

People

(Reporter: fantasai, Assigned: Pierre Saslawsky)

Tracking

({css1, testcase})

Trunk
x86
Windows 98
css1, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

17 years ago
Overview:

	HTML presentational elements (<B>, <I>, etc.) have their styles set in
	html.css, allowing the user stylesheet to override them. The CSS specs
 	specify that presentational hints from the markup be treated as if it
	were at the top of the author's stylesheet, and thus the user stylesheet
	would not be able to alter these styles without an !important rule.

	CSS1:3.2 - http://www.w3.org/TR/REC-CSS1#cascading-order
	CSS2:6.4.4 - http://www.w3.org/TR/REC-CSS2/cascade.html#q12

Steps to Reproduce, Actual Results, and Expected Results:

	See testcase (to be attached shortly)

Tested on:

	Build for.. the 3rd of July, I think. (I'm on a public comp ATM.)
(Reporter)

Comment 1

17 years ago
Created attachment 11289 [details]
HTML Presentational Elements Testcase
(Reporter)

Comment 2

17 years ago
Created attachment 11290 [details]
HTML Presentational Elements Testcase - user stylesheet
(Reporter)

Updated

17 years ago
Blocks: 2942
Keywords: css1
(Reporter)

Updated

17 years ago
Keywords: testcase
(Assignee)

Comment 3

17 years ago
Closing as dup of bug 2942. I moved your comments and testcase there.


*** This bug has been marked as a duplicate of 2942 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → DUPLICATE

Comment 4

17 years ago
Verified dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.