<?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>17433</bug_id>
          
          <creation_ts>2008-02-18 21:01:16 -0800</creation_ts>
          <short_desc>getComputedStyle() -&gt;  clip  returns empty string</short_desc>
          <delta_ts>2008-08-19 16:49:43 -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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Garrett Smith">xk1t</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71111</commentid>
    <comment_count>0</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-02-18 21:01:16 -0800</bug_when>
    <thetext>getComputedStyle(el,&apos;&apos;).getPropertyValue(&apos;clip&apos;)

returns empty string.

Should return a clip value, e.g &quot;rect(10px, 10px, 0px, 0px)&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71113</commentid>
    <comment_count>1</comment_count>
      <attachid>19205</attachid>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-02-18 21:59:32 -0800</bug_when>
    <thetext>Created attachment 19205
testcase showing problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80604</commentid>
    <comment_count>2</comment_count>
      <attachid>21195</attachid>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2008-05-16 00:01:24 -0700</bug_when>
    <thetext>Created attachment 21195
First attempt

So now we give a better CSSPrimitiveValue for the computed value of &apos;clip&apos;.
What is not completely clear to me is how to treat &apos;auto&apos;. Right now it returns
rect(0px, 0px, 0px, 0px), I would have expected something with at least a width
and height, also no clipping can be seen. However if I specify rect(0px, 0px, 0px, 0px) explicitly, there is clipping. I don&apos;t see how a distinction is made
between these two cases, and whether it is relevant for the computed value. Opera also returns what we return for auto, FF3 just returns &apos;auto&apos;.
Cheers,

Rob.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80605</commentid>
    <comment_count>3</comment_count>
      <attachid>21195</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-05-16 00:03:13 -0700</bug_when>
    <thetext>Comment on attachment 21195
First attempt

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80644</commentid>
    <comment_count>4</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2008-05-16 12:15:55 -0700</bug_when>
    <thetext>Landed in r33513.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81108</commentid>
    <comment_count>5</comment_count>
    <who name="David Harrison">harrison</who>
    <bug_when>2008-05-21 11:52:52 -0700</bug_when>
    <thetext>btw this also rdar://5875146</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86070</commentid>
    <comment_count>6</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-07-16 10:42:36 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Created an attachment (id=21195) [edit]
&gt; First attempt
&gt; 
&gt; So now we give a better CSSPrimitiveValue for the computed value of &apos;clip&apos;.
&gt; What is not completely clear to me is how to treat &apos;auto&apos;. 

&quot;rect(0, &quot; + el.offsetWidth +&quot;, &quot; + el.offsetHeight +&quot;, &quot; + &quot;0)&quot;

&gt; Right now it returns
&gt; rect(0px, 0px, 0px, 0px), 

That&apos;s worse than returning an empty string. Before the &quot;fix&quot;, if computedStyle.clip was the empty string, it was logical to assume that the value couldn&apos;t be read. Now it&apos;s impossible to tell what the actual computed value is where as b. Is the element really clipped, or is this the result of a bug 17433&apos;s &quot;fix&quot;?

&gt; I would have expected something with at least a width
&gt; and height, also no clipping can be seen. 

Of course.

&gt; However if I specify rect(0px, 0px,
&gt; 0px, 0px) explicitly, there is clipping. 

That seems to violate transivity.

&gt; I don&apos;t see how a distinction is made
&gt; between these two cases, and whether it is relevant for the computed value.
&gt; Opera also returns what we return for auto, FF3 just returns &apos;auto&apos;.

returning &apos;auto&apos; is wrong. That is not the CSS 2.1 computed value for clip.

The computed value for clip is defined by css 2.1:
http://www.w3.org/TR/CSS21/visufx.html#clipping

| Computed value:  	For rectangle values, a rectangle 
| consisting of four computed lengths; otherwise, as specified 

Returning all zeros, or &quot;rect(0px, 0px, 0px, 0px)&quot;, is obviously inaccurate and intransitive, as you noticed.

If the computedStyle.clip is all zeros, and is used to set el.style.clip, it will result in the element being clipped. Obviously, the error is in the computedStyle.clip incorrectly returning all zeros. This can be demonstrated by an example:-

&lt;!DOCTYPE HTML&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
	&lt;title&gt;Clip Test&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div style=&quot;position: absolute&quot; id=&quot;el&quot;
&gt;will be clipped?&lt;/div&gt;
&lt;script&gt;
var el = document.getElementById(&apos;el&apos;),

  // Since readStyle.clip returns empty string in current Webkit, 
  // use a &quot;mock&quot; object.
	readStyle = {clip: &quot;rect(0px, 0px, 0px, 0px)&quot;}; 
	//readStyle = getComputedStyle(el,&apos;&apos;),
    style = el.style;

alert(style.clip = readStyle.clip);
alert(&quot;getPropertyCSSValue(&apos;clip&apos;): &quot; +getComputedStyle(el,&apos;&apos;).getPropertyCSSValue(&apos;clip&apos;));

&lt;/script&gt;

&lt;/body&gt;
&lt;/html&gt;


To solve the problem, return a correct length. This is as simple as:-

&quot;rect(0, &quot; + el.offsetWidth +&quot;, &quot; + el.offsetHeight +&quot;, &quot; + &quot;0)&quot;


We can also see that &apos;getPropertyCSSValue&apos; does not return a Rect for clip but returns null instead. (Method  getPropertyCSSValue should also return the correct computed lengths (not all zeros).)


There is a need for a determination between &quot;absolute&quot; value and &quot;computed&quot; value in the DOM Style specs.

&gt; 
&gt; Rob.
&gt; 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86150</commentid>
    <comment_count>7</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-07-16 22:33:36 -0700</bug_when>
    <thetext>The value should be comma separated. I would recommend that the assertion for the unit test you make not have a hardcoded value for &quot;rect(5px 24px 1px 12px)&quot;.

http://www.w3.org/TR/CSS21/visufx.html#clipping
| Authors should separate offset values with commas. User agents must 
| support separation with commas, but may also support separation without 
| commas, because a previous revision of this specification was ambiguous in 
| this respect.

Don&apos;t return space-separated values. Return a rect() string with comma-separated values, as the CSS2.1 specification recommends.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87036</commentid>
    <comment_count>8</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-07-26 22:31:33 -0700</bug_when>
    <thetext>Garrett, could you please file a new bug report about the problems you have observed in the current implementation?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87056</commentid>
    <comment_count>9</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-07-26 23:15:48 -0700</bug_when>
    <thetext>The current implementation that I have, of Safari 3, on Mac, clip returns an empty string. That is this bug, and it is described in comment 0.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87057</commentid>
    <comment_count>10</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-07-26 23:19:29 -0700</bug_when>
    <thetext>A patch was landed in r33513 to address getComputedStyle returning an empty string.  You then reopened this bug report due to issues in the new results.  You should file a new bug report about those issues and this bug report should be closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87058</commentid>
    <comment_count>11</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-07-26 23:20:18 -0700</bug_when>
    <thetext>Then I will have to download a nightly build. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88863</commentid>
    <comment_count>12</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-08-19 16:23:11 -0700</bug_when>
    <thetext>Created Bug 20454

 This bug is not FIXED. Perhaps its best marked WONTFIX?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88865</commentid>
    <comment_count>13</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-19 16:27:21 -0700</bug_when>
    <thetext>It will be marked as FIXED as it no longer returns an empty string, which was the originally reported issue.  If we had decided to keep it returning an empty string then WONTFIX would be an appropriate resolution.  The issues in the return value will be tracked via the new bug report.  Thanks for filing it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88868</commentid>
    <comment_count>14</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-08-19 16:45:03 -0700</bug_when>
    <thetext>not really fixed. Just created a new bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88869</commentid>
    <comment_count>15</comment_count>
    <who name="Garrett Smith">xk1t</who>
    <bug_when>2008-08-19 16:45:58 -0700</bug_when>
    <thetext>WONTFIX, (only because I didn&apos;t find a more appropriate option)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88870</commentid>
    <comment_count>16</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-19 16:48:13 -0700</bug_when>
    <thetext>As I mentioned, WONTFIX is not appropriate here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88871</commentid>
    <comment_count>17</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-19 16:49:43 -0700</bug_when>
    <thetext>Fixes to bugs occasionally introduce new bugs.  That does not mean that we have no intent to fix the original issue, nor that the original issue is unfixed.  When new bugs are introduced, they are tracked separately.  You&apos;ve already filed the new bug report, so I see no need for you to keep fiddling with the status of this bug report.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>19205</attachid>
            <date>2008-02-18 21:59:32 -0800</date>
            <delta_ts>2008-02-18 21:59:32 -0800</delta_ts>
            <desc>testcase showing problem</desc>
            <filename>clipWebkit.html</filename>
            <type>text/html</type>
            <size>706</size>
            <attacher name="Garrett Smith">xk1t</attacher>
            
              <data encoding="base64">IDwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgWEhUTUwgMS4xLy9FTiINCiAgICAg
ICAgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMTEvRFREL3hodG1sMTEuZHRkIj4NCjxodG1s
IHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1sIiB4bWw6bGFuZz0iZW4iPg0KPGhl
YWQ+DQoJPG1ldGEgaHR0cC1lcXVpdj0iY29udGVudC10eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7
IGNoYXJzZXQ9aXNvLTg4NTktMSIgLz4NCiAgICA8dGl0bGU+Y2xpcDwvdGl0bGU+DQo8c3R5bGU+
DQpkaXYgew0KICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTsgDQogICAgd2lkdGg6IDIwZW07DQogICAg
aGVpZ2h0OiAxLjVlbTsNCn0NCg0KPC9zdHlsZT4NCg0KPC9oZWFkPg0KPGJvZHk+DQoNCjxoMT5j
bGlwPC9oMT4NCjxkaXYgc3R5bGU9ImNsaXA6IHJlY3QoMCAyMmVtIDNlbSAwKTtwb3NpdGlvbjph
YnNvbHV0ZTtiYWNrZ3JvdW5kOiByZWQ7IGJvcmRlcjogMXB4IHNvbGlkIHBpbms7IiA+DQogICAg
PGJ1dHRvbiBzdHlsZT0id2hpdGUtc3BhY2U6cHJlIg0KICAgICAgICBvbmNsaWNrPSJldmFsKHRo
aXMudGV4dENvbnRlbnQpIj5hbGVydCggDQogICAgICAgIGdldENvbXB1dGVkU3R5bGUodGhpcy5w
YXJlbnROb2RlLCcnKS5nZXRQcm9wZXJ0eVZhbHVlKCdjbGlwJykgDQopPC9idXR0b24+DQo8L2Rp
dj4NCg0KPC9ib2R5Pg0KPC9odG1sPg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>21195</attachid>
            <date>2008-05-16 00:01:24 -0700</date>
            <delta_ts>2008-05-16 00:03:13 -0700</delta_ts>
            <desc>First attempt</desc>
            <filename>17433.diff</filename>
            <type>text/plain</type>
            <size>4063</size>
            <attacher name="Rob Buis">rwlbuis</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiAzMzUxMikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTggQEAKKzIwMDgtMDUtMTUgIFJvYiBCdWlzICA8YnVpc0BrZGUub3JnPgorCisg
ICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIGh0dHBzOi8vYnVn
cy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xNzQzMworICAgICAgICBnZXRDb21wdXRlZFN0
eWxlKCkgLT4gY2xpcCByZXR1cm5zIGVtcHR5IHN0cmluZworCisgICAgICAgIE1ha2UgZ2V0Q29t
cHV0ZWRTdHlsZSByZXR1cm4gYSBzaGFwZSB2YWx1ZSBmb3IgY2xpcAorICAgICAgICBpZiBpdCBp
cyBzZXQuCisKKyAgICAg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ENvbXB1dGVkU3R5
bGUoZGl2LCcnKS5nZXRQcm9wZXJ0eVZhbHVlKCJjbGlwIikgIT0gInJlY3QoMHB4IDBweCAwcHgg
MHB4KSIpIHsKKyAgICAgICAgICBsb2coIkZBSUxFRCIpOworICAgICAgICAgIHJldHVybjsKKyAg
ICAgIH0KKyAgICAgIGxvZygiUEFTU0VEIik7CisgICAgfQorICA8L3NjcmlwdD4KKyA8L2hlYWQ+
CisgPGJvZHkgb25sb2FkPSJydW5UZXN0KCkiPgorICA8ZGl2IGlkPSJjbGlwIiBzdHlsZT0iY2xp
cDogcmVjdCg1cHgsIDJlbSwgMXB4LCAxZW0pIiA+PC9kaXY+CisgIDxkaXYgaWQ9ImNsaXAyIiBz
dHlsZT0iY2xpcDogYXV0byIgPjwvZGl2PgorICA8ZGl2IGlkPSJjb25zb2xlIj48L2Rpdj4KKyA8
L2JvZHk+Cis8L2h0bWw+Cg==
</data>
<flag name="review"
          id="9260"
          type_id="1"
          status="+"
          setter="hyatt"
    />
          </attachment>
      

    </bug>

</bugzilla>