title: Is by default absolute positioning relative to the document or to…?
body: <p><br></p>
  
  <p>As far as I know, absolute positioning is relative to a containing block that provides a positioning context, which by default, is the document. Thus, by default, absolute positioning should be specified with respect to the edges of html document and not with respect to the edges of a  viewport (browser window)?! </p>
  
  <p>For example, assuming html document has an element E with width of 2000px, then the width of this document is around 2000px and thus the following code:</p>
  
  <pre><code>#abs
  {
     position: absolute;
     top: 128px;
     right: 0px;
     width: 100px;
  }
  </code></pre>
  
  <p><br></p>
  
  <p>should place an element #abs to the far right of the document ( distance between far right and far left of the document is around 2000px ). Instead, #abs is placed to the right side of the viewport. What am I missing?</p>
  
  <p><br></p>
  
  <p>Thanx</p>