title: Padding within inputs breaks width 100%
body: <p>Ok, so we know that setting padding to an object causes its width to change even if it is set explicitly. While one can argue the logic behind this, it causes some problems with some elements.</p>
  <p>For most cases, you just add a child element and add padding to that one instead of the one set to 100%, but for form inputs, that's not a possible step.</p>
  <p>Take a look at this:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body {
    font-size: 14px;
    margin: 0px;
    padding: 0px;
  }
  
  DIV.formfield {
    clear: both;
    margin: 0px;
    padding: 10px;
  }
  
  DIV.formlabel {
    margin-top: 20px;
    padding: 5px;
    font-weight: bold;
    text-align: left;
  }
  
  DIV.formvalue {
    background-color: #eee;
    border: 1px solid red;
    padding: 10px;
    margin: 0px;
  }
  
  DIV.formvalue.correct {
    border: 1px solid green;
  }
  
  textarea.textarea {
    width: 100%;
    min-height: 80px;
  }
  
  input.input {
    width: 100%;
    padding: 5px;
  }
  
  input.input2 {
    width: 100%;
  }
  
  input.input3 {
    width: 100%;
    padding: 5px;
    margin: -5px;
  }
  
  input.input4 {
    width: 100%;
    padding: 10px;
    margin: -10px;
  }
  
  input.input5 {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class='formfield' id='field_text'&gt;
    &lt;div class='formlabel'&gt;No padding&lt;/div&gt;
    &lt;div class='formvalue'&gt;
      &lt;textarea class='textarea' cols='80' rows='10' name='text'&gt;No padding here&lt;/textarea&gt;
    &lt;/div&gt;
    &lt;div class='formlabel'&gt;Also no padding&lt;/div&gt;
    &lt;div class='formvalue'&gt;
      &lt;input type='text' class='input2' name='apa' value='Or here...' /&gt;
    &lt;/div&gt;
    &lt;div class='formlabel'&gt;5px padding, which extends the parent element, d'oh!&lt;/div&gt;
    &lt;div class='formvalue'&gt;
      &lt;input type='text' class='input' name='apa' value='I dont want to extend outside the square!' /&gt;
    &lt;/div&gt;
    &lt;div class='formlabel'&gt;5px padding and -5px margin, this does the trick, almost...&lt;/div&gt;
    &lt;div class='formvalue'&gt;
      &lt;input type='text' class='input3' name='apa' value='I dont want to extend outside the square!' /&gt;
    &lt;/div&gt;
  
    &lt;div class='formlabel'&gt;10px padding and -10px margin, things are falling apart on the right side&lt;/div&gt;
    &lt;div class='formvalue'&gt;
      &lt;input type='text' class='input4' name='apa' value='I dont want to extend outside the square!' /&gt;
    &lt;/div&gt;
  
    &lt;div class='formlabel'&gt;&lt;img src="/bilder/icons/badges/ok.png" width="16" height="16" border="0"&gt; 10px padding and box-sizing: border-box&lt;/div&gt;
    &lt;div class='formvalue correct'&gt;
      &lt;input type='text' class='input5' name='apa' value='I dont want to extend outside the square!' /&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>The second input has its padding set to 5px which I very much prefer to the default setting. But unfortunately that makes the input grow 10px in all directions, including adding 10px to the 100% width.</p>
  <p>Problem here is that I can't add a child element inside the input so I can't fix it. So the question is:</p>
  <p>Is there any way to add padding inside the input while still keeping the width 100%? It need to be 100% since the forms will render in different width parents so I don't know beforehand the width of the parent.</p>