W3C home > Mailing lists > Public > www-validator-css@w3.org > August 2008

Incorrectly Identifying Negative Text-Indent as Error

From: Eric Powell <epic@pobox.com>
Date: Sat, 30 Aug 2008 22:38:32 -0700
Message-ID: <6d9bf3e60808302238j52aa05d8vc673278e8eedcfcd@mail.gmail.com>
To: "CSS Validator Mailing List" <www-validator-css@w3.org>
I believe that the following validation result is incorrect and should match
the CSS 2.1 Specification

A "text-indent" property of "text-indent -30" was identified as an error:
"Value Error : text-indent Parse Error -30px"
(all tested negative values were also identified as error)

even though the standard states:

The value of 'text-indent' may be negative, but there may be
implementation-specific limits. If the value of 'text-indent' is either
negative or exceeds the width of the block, that first box, described above,
can overflow the block. The value of 'overflow' will affect whether such
text that overflows the block is visible. (CSS 2.1 - 16.1 Indentation: the
'text-indent' property<http://www.w3.org/TR/CSS21/text.html#propdef-text-indent>

--eric powell
eric powell
epic@pobox.com - eric.powell@wwcc.edu
+1 (509) 301-9310 Fax +1 (509) 593-4500
"The great aim of education is not knowledge but action." --Herbert Spencer
(1820 - 1903)
Received on Sunday, 31 August 2008 21:55:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:45 UTC