Closed Bug 286561 Opened 20 years ago Closed 16 years ago

stylesheet fails to match p[align="middle"]

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: habere, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050306 Firefox/1.0.1 (Debian package 1.0.1-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050306 Firefox/1.0.1 (Debian package 1.0.1-2)

when trying to highlight inappropriate html — a paragraph whose align attribute
value is middle — i've noticed that the appropriate css selector:

p[align="middle"]

does not match the html:

<p align="middle">test</p>

Reproducible: Always

Steps to Reproduce:
please read the detailed test case.
Actual Results:  
the paragraph attribute value of "middle" is being changed to "center" (dataloss).

Expected Results:  
dom attribute values should reflect their initial values. a little user agent
style could help instead of altering dom node values:

p[align="middle] { text-align: center; }

related to inverse bug (align on image set to center instead of middle). filed
for mozilla as bug #156582:

https://bugzilla.mozilla.org/show_bug.cgi?id=156582
Attached file testcase
testcase
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
test case still holds and shows same the problem with firefox 1.5b1 (under ubuntu).
Assignee: bross2 → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Firefox 3.0 knows both middle and center and applies the stylesheets respectively.
-> WFM
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: