<?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>5722</bug_id>
          
          <creation_ts>2005-11-12 16:16:04 -0800</creation_ts>
          <short_desc>Span width incorrect when abs positioned inside rel positioned span</short_desc>
          <delta_ts>2006-12-16 12:48:48 -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>CSS</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9213</dup_id>
          
          <bug_file_loc>http://lddebate.org/testing/test-case.html</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="Mike West">mike</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>ian</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23962</commentid>
    <comment_count>0</comment_count>
    <who name="Mike West">mike</who>
    <bug_when>2005-11-12 16:16:04 -0800</bug_when>
    <thetext>The test paragraph at the URL noted contains a section demarcated by a span of class &apos;phrase&apos;. Inside of 
this span exists simply a bit of text, and another span of class &apos;overlay&apos;. The goal is to absolutely position 
&apos;overlay&apos; on top of &apos;phrase&apos;, taking on the same height and width. &apos;overlay&apos; has it&apos;s boder change colours 
upon hover. The code is, in theory, valid. However, two errors occur here that do not occur in Firefox 
(Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051107 Firefox/1.5).

* The &apos;overlay&apos; span is set to a width of &apos;100%&apos;, yet seems to bypass it&apos;s relatively positioned parent&apos;s width, 
prefering instead the width of the parent&apos;s parent (the containing div).
* The hover effect is quite odd, as it doesn&apos;t actually change the border colour of the entire span but 
instead only the part of the span that exists inside the outer div.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23963</commentid>
    <comment_count>1</comment_count>
      <attachid>4676</attachid>
    <who name="Mike West">mike</who>
    <bug_when>2005-11-12 16:21:48 -0800</bug_when>
    <thetext>Created attachment 4676
Testcase

Attached testcase.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24409</commentid>
    <comment_count>2</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2005-11-22 14:35:03 -0800</bug_when>
    <thetext>Confirmed, good testcase and explanation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26879</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2005-12-27 15:57:55 -0800</bug_when>
    <thetext>Yes, we render this wrong, even on TOT.  Beth was recently working in the area of absolute/relative 
positioning, she might have thoughts here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45088</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2006-06-07 14:20:03 -0700</bug_when>
    <thetext>This now works.  Any objections to closing it down.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45098</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-06-07 15:26:40 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; This now works.  Any objections to closing it down.

It would be interesting to know which revision fixed it, and it would be worthwhile to write a test to cover the break.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41726</commentid>
    <comment_count>6</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-12-16 12:48:48 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 9213 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4676</attachid>
            <date>2005-11-12 16:21:48 -0800</date>
            <delta_ts>2005-11-12 16:21:48 -0800</delta_ts>
            <desc>Testcase</desc>
            <filename>test-case.html</filename>
            <type>text/html</type>
            <size>1447</size>
            <attacher name="Mike West">mike</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgU3RyaWN0Ly9FTiIg
Imh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXN0cmljdC5kdGQiPgo8aHRt
bCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94aHRtbCIgeG1sOmxhbmc9ImVuIiBpZD0i
bGRkZWJhdGUtb3JnIj4KICAgIDxoZWFkPgogICAgICAgIDxtZXRhIGh0dHAtZXF1aXY9IkNvbnRl
bnQtVHlwZSIgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PVVURi04IiAvPgogICAgCiAgICAg
ICAgPHRpdGxlPmxkZGViYXRlLm9yZyB0ZXN0PC90aXRsZT4KICAgICAgICA8c3R5bGUgdHlwZT0n
dGV4dC9jc3MnPgogICAgICAgICAgICBkaXYgewogICAgICAgICAgICAgICAgd2lkdGg6ICAgIDYw
MHB4OwogICAgICAgICAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlOwogICAgICAgICAgICB9CiAg
ICAgICAgICAgICAgICBzcGFuLnBocmFzZSB7CiAgICAgICAgICAgICAgICAgICAgcG9zaXRpb246
ICAgcmVsYXRpdmU7CiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZDogI0RERERERDsKICAg
ICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICBzcGFuLnBocmFzZSBzcGFuLm92ZXJs
YXkgewogICAgICAgICAgICAgICAgICAgICAgICBkaXNwbGF5OiAgICBibG9jazsKICAgICAgICAg
ICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiAgIGFic29s
dXRlOwogICAgICAgICAgICAgICAgICAgICAgICB0b3A6ICAgICAgICAtMXB4OwogICAgICAgICAg
ICAgICAgICAgICAgICBsZWZ0OiAgICAgICAtMXB4OwoKICAgICAgICAgICAgICAgICAgICAgICAg
aGVpZ2h0OiAgICAgMTAwJTsKICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6ICAgICAgMTAw
JTsKICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyOiAgICAgMXB4IHNvbGlkIGJsdWU7CiAg
ICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICBzcGFuLnBocmFzZSBz
cGFuLm92ZXJsYXk6aG92ZXIgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyOiAx
cHggc29saWQgcmVkOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgPC9zdHlsZT4K
ICAgIDwvaGVhZD4KICAgIDxib2R5PgogICAgICAgIDxkaXY+CiAgICAgICAgICAgIExvcmVtIGlw
c3VtIGRvbG9yIHNpdCBhbWV0LCAKICAgICAgICAgICAgPHNwYW4gY2xhc3M9J3BocmFzZSc+CiAg
ICAgICAgICAgICAgICA8c3BhbiBjbGFzcz0nb3ZlcmxheSc+PC9zcGFuPgogICAgICAgICAgICAg
ICAgY29uc2VjdGV0dWVyIGFkaXBpc2NpbmcgZWxpdAogICAgICAgICAgICA8L3NwYW4+LiAKICAg
ICAgICAgICAgQ3VyYWJpdHVyIG1vbGVzdGllIHZvbHV0cGF0IHRvcnRvci4KICAgICAgICA8L2Rp
dj4KICAgIDwvYm9keT4KPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>