Closed Bug 308176 Opened 20 years ago Closed 20 years ago

Additional style attributes ignored

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 257925

People

(Reporter: conrad, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; af-ZA; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; af-ZA; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 When more than one style="" attribute is specified in any tag, only the first one is considered and the rest are ignored, e.g. <table style="font-size:8pt" border=0 style="background-image:url(bg.jpg)"> The table won't have a background, because only the style information in the first style attribute was used. In Internet Explorer all style attribute are "combined" and the additional attributes are considered too. Reproducible: Always Steps to Reproduce: 1. Make an html file 2. type any tag and add more than one style attribute, with different information in each one. 3. Open the file in Firefox, only the first attribute's information was used Actual Results: Only the first style= attribute's style information was displayed Expected Results: All the style information should be considered and rendered It can be worked around by using a single attribute for all style information, but Firefox should compensate for this occurence as Internet Explorer does
*** This bug has been marked as a duplicate of 257925 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.