<?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>19203</bug_id>
          
          <creation_ts>2008-05-22 19:00:36 -0700</creation_ts>
          <short_desc>CSS masks should not clip by default (add a value of &quot;none&quot; to mask-clip property)</short_desc>
          <delta_ts>2022-07-11 16:24:37 -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>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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>95389</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="CJ Yetman">cj</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>hyatt</cc>
    
    <cc>krit</cc>
    
    <cc>mitz</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>syoichi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81266</commentid>
    <comment_count>0</comment_count>
    <who name="CJ Yetman">cj</who>
    <bug_when>2008-05-22 19:00:36 -0700</bug_when>
    <thetext>If you add a CSS mask to an object that has a CSS reflect, the reflection no longer appears.
CSS transforms don&apos;t play nice with CSS reflect either. May be linked. See bug https://bugs.webkit.org/show_bug.cgi?id=19179
also see test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81267</commentid>
    <comment_count>1</comment_count>
      <attachid>21306</attachid>
    <who name="CJ Yetman">cj</who>
    <bug_when>2008-05-22 19:02:22 -0700</bug_when>
    <thetext>Created attachment 21306
shows two boxes with reflection: one has a mask, other does not</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81269</commentid>
    <comment_count>2</comment_count>
      <attachid>21307</attachid>
    <who name="CJ Yetman">cj</who>
    <bug_when>2008-05-22 19:14:18 -0700</bug_when>
    <thetext>Created attachment 21307
reflection on masked object is partially revealed if the object is skewed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81651</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-05-27 14:33:18 -0700</bug_when>
    <thetext>It is at the moment correct behavior that a mask causes a reflection to disappear.  We will have to add a new value to mask-clip (something like &quot;none&quot;) and make it the default in order to fix this.  Note that the same thing happens with box-shadow (the shadow will disappear).

This is happening because mask-clip is defaulting to a value of &quot;border&quot;, which means it is clipping out everything outside the border.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81652</commentid>
    <comment_count>4</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-05-27 14:34:57 -0700</bug_when>
    <thetext>Another option is to just say that the mask *never* masks anything outside the border box for any value of mask-clip.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116984</commentid>
    <comment_count>5</comment_count>
    <who name="CJ Yetman">cj</who>
    <bug_when>2009-04-08 20:57:59 -0700</bug_when>
    <thetext>this behavior has changed in Webkit nightly build 530.6

in the second test, the skewed box shows no reflection at all, instead of just the portion of the shadow that fits within the border of where the box would be if it were not skewed (like it does with the current Safari 4.0 Beta)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773560</commentid>
    <comment_count>6</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2012-11-21 22:12:03 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Another option is to just say that the mask *never* masks anything outside the border box for any value of mask-clip.

The CSS WG decided to add a new keyword, which will most likely be &apos;no-clip&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882201</commentid>
    <comment_count>7</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-11 16:24:37 -0700</bug_when>
    <thetext>Safari, Chrome, and Firefox show the same rendering behavior for this test case. I do not believe any further compatibility issue remains.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>21306</attachid>
            <date>2008-05-22 19:02:22 -0700</date>
            <delta_ts>2008-05-22 19:02:22 -0700</delta_ts>
            <desc>shows two boxes with reflection: one has a mask, other does not</desc>
            <filename>maskandreflection.html</filename>
            <type>text/html</type>
            <size>492</size>
            <attacher name="CJ Yetman">cj</attacher>
            
              <data encoding="base64">PHN0eWxlPg0KI2JveCB7DQoJcG9zaXRpb246IGFic29sdXRlOw0KCXdpZHRoOjE3MDsNCgloZWln
aHQ6MTcwOw0KCWJhY2tncm91bmQtY29sb3I6IHJlZDsNCgktd2Via2l0LWJvcmRlci1yYWRpdXM6
IDEwcHg7DQoJLXdlYmtpdC1ib3gtcmVmbGVjdDogYmVsb3cgMHB4IA0KCQktd2Via2l0LWdyYWRp
ZW50KGxpbmVhciwgbGVmdCB0b3AsIGxlZnQgYm90dG9tLCBmcm9tKHRyYW5zcGFyZW50KSwgY29s
b3Itc3RvcCguNywgdHJhbnNwYXJlbnQpLCB0byhyZ2JhKDAsMCwwLC41KSkpOw0KfQ0KPC9zdHls
ZT4KDQo8ZGl2IGlkPSJib3giIHN0eWxlPSIKCWxlZnQ6IDIwcHg7CiI+PC9kaXY+DQoKPGRpdiBp
ZD0iYm94IiBzdHlsZT0iCglsZWZ0OiAyMDBweDsKCS13ZWJraXQtbWFzay1pbWFnZTogLXdlYmtp
dC1ncmFkaWVudChsaW5lYXIsIGxlZnQgdG9wLCBsZWZ0IGJvdHRvbSwgZnJvbShyZ2JhKDAsMCww
LC41KSksIHRvKHJnYmEoMCwwLDAsMSkpKTsNCiI+PC9kaXY+
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>21307</attachid>
            <date>2008-05-22 19:14:18 -0700</date>
            <delta_ts>2008-05-22 19:14:18 -0700</delta_ts>
            <desc>reflection on masked object is partially revealed if the object is skewed</desc>
            <filename>maskandreflectionwithskew.html</filename>
            <type>text/html</type>
            <size>499</size>
            <attacher name="CJ Yetman">cj</attacher>
            
              <data encoding="base64">PHN0eWxlPg0KI2JveCB7DQoJcG9zaXRpb246IGFic29sdXRlOw0KCXdpZHRoOjE3MDsNCgloZWln
aHQ6MTcwOw0KCWJhY2tncm91bmQtY29sb3I6IHJlZDsNCgktd2Via2l0LWJveC1yZWZsZWN0OiBi
ZWxvdyAwcHggDQoJCS13ZWJraXQtZ3JhZGllbnQobGluZWFyLCBsZWZ0IHRvcCwgbGVmdCBib3R0
b20sIGZyb20odHJhbnNwYXJlbnQpLCBjb2xvci1zdG9wKC43LCB0cmFuc3BhcmVudCksIHRvKHJn
YmEoMCwwLDAsLjUpKSk7DQp9DQo8L3N0eWxlPgoNCjxkaXYgaWQ9ImJveCIgc3R5bGU9IgoJbGVm
dDogMjBweDsKIj48L2Rpdj4NCgo8ZGl2IGlkPSJib3giIHN0eWxlPSIKCWxlZnQ6IDIwMHB4OwoJ
LXdlYmtpdC10cmFuc2Zvcm06IHNrZXcoMGRlZywxMGRlZyk7Cgktd2Via2l0LW1hc2staW1hZ2U6
IC13ZWJraXQtZ3JhZGllbnQobGluZWFyLCBsZWZ0IHRvcCwgbGVmdCBib3R0b20sIGZyb20ocmdi
YSgwLDAsMCwuNSkpLCB0byhyZ2JhKDAsMCwwLDEpKSk7DQoiPjwvZGl2Pg==
</data>

          </attachment>
      

    </bug>

</bugzilla>