Closed Bug 282241 Opened 20 years ago Closed 20 years ago

Alternate stylesheets are not clean - traces of the original css remain.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: feedback, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Elements of an original stylesheet remain when style is switched.
Example given is of display:none but I wonder there are more examples.. borders etc.
Currently there's a need to exactly neutralise the original before beginning a
new style.. it's a nuisance.

Reproducible: Always

Steps to Reproduce:
1. Create two stylesheets and in the first include a display:none;
2. In the second omit to neutralise the first original css.
3. switch back and forth.

Actual Results:  
The second style includes parts of the first.

Expected Results:  
The alternate stylesheet should be an alternate, i.e. not an addition to the
original style.

Why the need to neutralise the original?


Does appear also in Opera [7.54u1 build 3918] but not sure what this implies.
(This in XHTML 1.1 but I expect in other flavours too.)
> Does appear also in Opera [7.54u1 build 3918] but not sure what this implies.

That implies the need for some googling and learning before filing a bug. In
this case, googling that should lead you to section 14.3 of the HTML 4 Rec,
since xml-stylesheet follows the same rules.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.