<?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>95388</bug_id>
          
          <creation_ts>2012-08-29 15:18:56 -0700</creation_ts>
          <short_desc>LayoutTest: fast/css/nested-layers-with-over.html fails on Windows</short_desc>
          <delta_ts>2014-02-18 14:07:01 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roger Fong">roger_fong</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>bfulgham</cc>
    
    <cc>jberlin</cc>
    
    <cc>jhoneycutt</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>707930</commentid>
    <comment_count>0</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2012-08-29 15:18:56 -0700</bug_when>
    <thetext>The offsetWidth and offsetHeight properties on a div are different when run through DRT and minibrowser.

This test relies on the mouse hovering over a block of text.
It uses mouseMoveTo to accomplish this.

The test fails on Windows because for some reason the offsetHeight property is not correct (too big) resulting in the mouse being moved to the wrong location.

If I log the offsetHeight property of the &apos;table-row&apos; element, DRT spits out 36 which is wrong. Meanwhile in minibrowser, the exact same console log in the exact same place spits out 20px, as it should be. 

The problem also only occurs when using text in the div, regardless of whether or not I manually set the height property on the div itself.

If I change the test to use an image and manually set its width and height the test will work. Although I still have no idea why the text is causing DRT to mess up. I&apos;d expect that anything like that that works in the minibrowser should also work in DRT...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>709969</commentid>
    <comment_count>1</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2012-08-31 14:10:36 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/127310</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>709970</commentid>
    <comment_count>2</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2012-08-31 14:10:48 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; http://trac.webkit.org/changeset/127310

Temporarily skipped</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>982086</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-02-18 14:07:01 -0800</bug_when>
    <thetext>This test runs properly now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>