text-align in <style> ignored for h1

VERIFIED INVALID

Status

()

Core
Layout
P3
normal
VERIFIED INVALID
18 years ago
15 years ago

People

(Reporter: Christos Cheretakis, Assigned: clayton)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

18 years ago
In the attached page, there's a <style> section, which should align h1 in the
center. mozilla-2000060811/linux aligns h1 left.
(Reporter)

Comment 1

18 years ago
Created attachment 9869 [details]
testcase

Comment 2

18 years ago
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
Last Resolved: 18 years ago
Resolution: --- → INVALID

Comment 4

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