<?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>16797</bug_id>
          
          <creation_ts>2008-01-09 00:17:38 -0800</creation_ts>
          <short_desc>CSS3: cursor: default not supported (Acid3 bug)</short_desc>
          <delta_ts>2008-01-14 20:37:10 -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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Eric Seidel (no email)">eric</assigned_to>
          <cc>ap</cc>
    
    <cc>ian</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66640</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-09 00:17:38 -0800</bug_when>
    <thetext>Test 47: FAIL (expected default, got: auto - cursor default not supported)

    function () {
      // test 47: &apos;cursor&apos; and CSS3 values
      var doc = getTestDocument();
      var style = doc.createElement(&apos;style&apos;);
      style.setAttribute(&apos;type&apos;, &apos;text/css&apos;);
      var cursors = [&apos;auto&apos;, &apos;default&apos;, &apos;none&apos;, &apos;context-menu&apos;, &apos;help&apos;, &apos;pointer&apos;, &apos;progress&apos;, &apos;wait&apos;, &apos;cell&apos;, &apos;crosshair&apos;, &apos;text&apos;, &apos;vertical-text&apos;, &apos;alias&apos;, &apos;copy&apos;, &apos;move&apos;, &apos;no-drop&apos;, &apos;not-allowed&apos;, &apos;e-resize&apos;, &apos;n-resize&apos;, &apos;ne-resize&apos;, &apos;nw-resize&apos;, &apos;s-resize&apos;, &apos;se-resize&apos;, &apos;sw-resize&apos;, &apos;w-resize&apos;, &apos;ew-resize&apos;, &apos;ns-resize&apos;, &apos;nesw-resize&apos;, &apos;nwse-resize&apos;, &apos;col-resize&apos;, &apos;row-resize&apos;, &apos;all-scroll&apos;];
      for (var i in cursors) {
        var c = cursors[i];
        style.appendChild(doc.createTextNode(&apos;#&apos; + c + &apos; { cursor: &apos; + c + &apos;; }&apos;));
      }
      style.appendChild(doc.createTextNode(&apos;#bogus { cursor: bogus; }&apos;));
      doc.body.appendChild(style);
      doc.body.id = &quot;bogus&quot;;
      assertEquals(doc.defaultView.getComputedStyle(doc.body, &apos;&apos;).cursor, &quot;auto&quot;, &quot;control failed&quot;);
      for (var i in cursors) {
        var c = cursors[i];
        doc.body.id = c;
        assertEquals(doc.defaultView.getComputedStyle(doc.body, &apos;&apos;).cursor, c, &quot;cursor &quot; + c + &quot; not supported&quot;);
      }
      return 3;
    },</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66644</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-09 00:39:30 -0800</bug_when>
    <thetext>Should be simple.  This should just map to &quot;pointer&quot; for us.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66868</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-10 20:19:42 -0800</bug_when>
    <thetext>Actually this seems to have nothing to do with cursor: default support.  Investigating.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67252</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-14 13:23:42 -0800</bug_when>
    <thetext>So the major issue here is that Hixie is adding the &lt;style&gt; tag to the body:

doc.body.appendChild(style);

instead of to the head (like he does for every other test).  We don&apos;t support that for some reason.

We also seem to incorrectly map none -&gt; crosshair and copy -&gt; auto.  I&apos;ll fix those in a forthcoming patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67267</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-14 20:37:10 -0800</bug_when>
    <thetext>None of these fail in the latest Acid3.  My diagnosis was incorrect.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>