<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17124</bug_id>
          
          <creation_ts>2012-05-20 17:02:26 +0000</creation_ts>
          <short_desc>Negative values of padding and border-width should be explicitly illegal</short_desc>
          <delta_ts>2012-12-04 00:54:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSS Level 2</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton P">antonsforums</reporter>
          <assigned_to name="Bert Bos">bert</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67933</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-05-20 17:02:26 +0000</bug_when>
    <thetext>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 &lt;border-width&gt;
  # value type, which may take one of the following values:
  #
  # [...]
  # &lt;length&gt;
  #   The border&apos;s thickness has an explicit value. Explicit border
  #   widths cannot be negative.

It&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67934</commentid>
    <comment_count>1</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-05-20 17:03:59 +0000</bug_when>
    <thetext>Peter proposes in http://lists.w3.org/Archives/Public/www-style/2011Jan/0107 to make negative lengths illegal for the padding and border width properties, linking to syndata.html#illegalvalues</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>