W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2005

[Bug 2446] border-width validation omits "redundant" setting

From: <bugzilla@wiggum.w3.org>
Date: Fri, 04 Nov 2005 02:10:57 +0000
To: www-validator-cvs@w3.org
Cc:
Message-Id: <E1EXr2f-0002KC-1I@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2446

           Summary: border-width validation omits "redundant" setting
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: text area
        AssignedTo: ot@w3.org
        ReportedBy: jscher@carrferrell.com
         QAContact: www-validator-cvs@w3.org


If you paste these in the text area:

border-width: 0 0 1px 0;
border-width: 1px 0 0 0;
border-width: 1px 0 0 1px;

You get back these as valid css:

border-width : 0 0 1px;
border-width : 1px 0 0;
border-width : 1px 0 0 1px;

The first two apparently are equivalent to the original, but I think it is bad
for usability to rewrite the user's css in this way. Trying to remember the
"12:00 3:00 6:00 9:00" versus "12:00/6:00 3:00/9:00" orientation is challenging
enough without getting back 3 settings.
Received on Friday, 4 November 2005 02:10:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:53 GMT