Closed Bug 42018 Opened 24 years ago Closed 24 years ago

text-align in <style> ignored for h1

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: xalkina, Assigned: clayton)

References

()

Details

Attachments

(1 file)

In the attached page, there's a <style> section, which should align h1 in the
center. mozilla-2000060811/linux aligns h1 left.
Attached file testcase
The attached testcase contains an invlid style sheet.  This line is invalid:

   h1 { align: center; }

According to the official specification at
http://www.w3.org/TR/REC-CSS2/propidx.html, there is no property 'align'.  I
think you meant to use 'text-align'.  I suggest marking this bug as
RESOLVED/INVALID.  

xalkina@otenet.gr, before you report a bug, please make sure that your code is
valid by using the validation services at
http://jigsaw.w3.org/css-validator/validator-uri.html and
http://validator.w3.org/
Marking INVALID for reasons above.  CSS1 and CSS2 require that implementations 
ignore declarations of unknown properties.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
vfy
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: