<?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>11878</bug_id>
          
          <creation_ts>2006-12-19 11:19:49 -0800</creation_ts>
          <short_desc>REGRESSION: An exception is raised by element.style.cursor = &quot;-moz-grab&quot;</short_desc>
          <delta_ts>2007-01-05 08:35:21 -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>WebCore Misc.</component>
          <version>420+</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>javascript:document.body.style.cursor = &quot;-moz-grab&quot;;alert(&quot;SUCCESS&quot;)</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>41032</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-12-19 11:19:49 -0800</bug_when>
    <thetext>Bug 7296 enabled exceptions for invalid CSS values being set via DOM.

This has caused a problem with Mozilla-only cursors: Mozilla (of course) supports those, and IE has a quirk that lets it handle them without raising an exception. In IE, &quot;-moz-grab&quot; is treated as &quot;url(-moz-grab)&quot;. Moreover, &quot;url(foobar), -moz-grab&quot; is also parsed &quot;successfully&quot; somehow.

So, WebKit is the odd one raising an exception now. This can be fixed by adding support for those cursors (bug 8988) or by implementing an IE-style parsing quirk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36871</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-01-05 08:35:21 -0800</bug_when>
    <thetext>It was decided that exceptions shouldn&apos;t be raised for invalid values, so this is a non-issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>