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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>9265</bug_id>
          
          <creation_ts>2006-06-02 14:55:44 -0700</creation_ts>
          <short_desc>Quirksmode: Setting position: relative on html and body in strict mode</short_desc>
          <delta_ts>2006-06-24 14:00:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>
          
          <blocked>9610</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adele Peterson">adele</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44436</commentid>
    <comment_count>0</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2006-06-02 14:55:44 -0700</bug_when>
    <thetext>http://www.quirksmode.org/bugreports/archives/safari/index.html

&quot;In Internet Explorer 6.0 and higher, setting html, body {position: relative;} while in strict mode causes the browser to disallow scrolling. I don&apos;t know of any real-world applications where this would be a problem, but it&apos;s still a bug.

In Safari the entire body disappears if you set position: relative on the HTML first, and then on the BODY. Safari crashes if you check BODY, then HTML, then uncheck BODY.

Workarounds include using quirks mode, or playing it safe and avoiding setting positioning to the html element.

Test page http://www.beggarchooser.com/test/relative.html
Workaround is included
Reported by: John Hansen.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47022</commentid>
    <comment_count>1</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-06-24 14:00:38 -0700</bug_when>
    <thetext>This works in latest nightly, closing as worksforme.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>