<?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>41356</bug_id>
          
          <creation_ts>2010-06-29 09:37:09 -0700</creation_ts>
          <short_desc>Relative positioning breaks border-radius clipping of content</short_desc>
          <delta_ts>2011-04-10 10:03:07 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>50072</dup_id>
          
          <bug_file_loc></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="Devin Chalmers">devin.chalmers</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>philip.tellis</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>244327</commentid>
    <comment_count>0</comment_count>
      <attachid>60027</attachid>
    <who name="Devin Chalmers">devin.chalmers</who>
    <bug_when>2010-06-29 09:37:09 -0700</bug_when>
    <thetext>Created attachment 60027
Demonstration of broken clipping on relatively positioned elements

When a parent element has a border-radius and overflow set to hidden, setting position: relative on either that element or its child will break clipping of children to the border radius.

Example case attached. In my understanding, all three divs should render as circles.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>244566</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2010-06-29 17:18:41 -0700</bug_when>
    <thetext>I will have to look at the spec and the test case more closely, but for what it&apos;s worth, if you add in -moz-border-radius, the test draws as all squares in Firefox.

And I would also like to note that the test case renders the same with the new path-draing border-radius mechanism and the old arc-based method.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382820</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Tellis">philip.tellis</who>
    <bug_when>2011-04-09 18:22:00 -0700</bug_when>
    <thetext>Looks to be a dupe of bug 50072 and there&apos;s more activity there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382897</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-04-10 10:03:07 -0700</bug_when>
    <thetext>Bug has more info.

*** This bug has been marked as a duplicate of bug 50072 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>60027</attachid>
            <date>2010-06-29 09:37:09 -0700</date>
            <delta_ts>2010-06-29 09:37:09 -0700</delta_ts>
            <desc>Demonstration of broken clipping on relatively positioned elements</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>528</size>
            <attacher name="Devin Chalmers">devin.chalmers</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlIHR5cGU9InRleHQvY3Nz
Ij4KICAgICAgLmNvbnRhaW5lciB7CiAgICAgICAgd2lkdGg6IDEwMHB4OyBoZWlnaHQ6IDEwMHB4
OyBib3JkZXItcmFkaXVzOiA1MHB4OwogICAgICAgIG92ZXJmbG93OiBoaWRkZW47CiAgICAgIH0K
ICAgICAgLmNoaWxkIHsKICAgICAgICB3aWR0aDogMTAwcHg7IGhlaWdodDogMTAwcHg7IGJhY2tn
cm91bmQ6IGJsYWNrOwogICAgICB9CiAgICAgIC5icm9rZW4geyBwb3NpdGlvbjogcmVsYXRpdmU7
IH0KICAgIDwvc3R5bGU+CiAgPC9oZWFkPgogIDxib2R5PgogICAgPGRpdiBjbGFzcz0iY29udGFp
bmVyIj48ZGl2IGNsYXNzPSJjaGlsZCI+PC9kaXY+PC9kaXY+CiAgICA8ZGl2IGNsYXNzPSJjb250
YWluZXIgYnJva2VuIj48ZGl2IGNsYXNzPSJjaGlsZCI+PC9kaXY+PC9kaXY+CiAgICA8ZGl2IGNs
YXNzPSJjb250YWluZXIiPjxkaXYgY2xhc3M9ImNoaWxkIGJyb2tlbiI+PC9kaXY+PC9kaXY+CiAg
PC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>