W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > May 2012

[Bug 17124] New: Negative values of padding and border-width should be explicitly illegal

From: <bugzilla@jessica.w3.org>
Date: Sun, 20 May 2012 17:02:26 +0000
To: public-css-bugzilla@w3.org
Message-ID: <bug-17124-5148@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17124

           Summary: Negative values of padding and border-width should be
                    explicitly illegal
           Product: CSS
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS Level 2
        AssignedTo: bert@w3.org
        ReportedBy: antonsforums@yahoo.co.uk
         QAContact: public-css-bugzilla@w3.org


Reported by Peter Moulder

8.4 (Padding properties) says:

  # Unlike margin properties, values for padding values cannot be
  # negative. [...]

8.5.1 (Border width) says:

  # The border width properties specify the width of the border area.
  # The properties defined in this section refer to the <border-width>
  # value type, which may take one of the following values:
  #
  # [...]
  # <length>
  #   The border's thickness has an explicit value. Explicit border
  #   widths cannot be negative.

It's not clear what an implementation should do when it encounters a specified
negative value.

Conversation begins:
Bug description:
http://lists.w3.org/Archives/Public/www-style/2011Jan/0107

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 20 May 2012 17:02:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 20 May 2012 17:02:29 GMT