This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 758 - Warn for text-align on inline elements
Summary: Warn for text-align on inline elements
Status: RESOLVED INVALID
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 enhancement
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 23:46 UTC by Bj
Modified: 2004-10-27 13:08 UTC (History)
1 user (show)

See Also:


Attachments

Description Bj 2004-05-28 23:46:02 UTC
From http://jigsaw.w3.org/css-validator/BUGS.html

a {
   text-align: "$";
}

''The validator doesn't say "only for block-level elements". The bug comes from 
me. I know where it is but don't have time to find a solution.''
Comment 1 Etan Wexler 2004-10-27 13:08:47 UTC
Which elements are inline? We cannot be sure ahead of the cascade, because the
answer depends on the computed value of the 'display' property. This would be a
bogus warning.