<?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>22036</bug_id>
          
          <creation_ts>2008-11-02 03:49:10 -0800</creation_ts>
          <short_desc>Setting contentEditable=false inside a document with designMode=&apos;on&apos; fails</short_desc>
          <delta_ts>2011-05-02 13:36:48 -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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>53031</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alfonso Martínez de Lizarrondo">amla70</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>cshu</cc>
    
    <cc>enrica</cc>
    
    <cc>jparent</cc>
    
    <cc>ojan</cc>
    
    <cc>rakesh.sadhu</cc>
    
    <cc>rniwa</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97403</commentid>
    <comment_count>0</comment_count>
    <who name="Alfonso Martínez de Lizarrondo">amla70</who>
    <bug_when>2008-11-02 03:49:10 -0800</bug_when>
    <thetext>According to http://www.w3.org/html/wg/html5/#contenteditable if an element has
contentEditable=false then it should not be editable, even if the rest of the
document has designMode=&apos;on&apos;.

This testcase proves that Firefox, Safari and Opera fail to disable the editing
in such situation.

Filed in Mozilla as https://bugzilla.mozilla.org/show_bug.cgi?id=462735</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97404</commentid>
    <comment_count>1</comment_count>
      <attachid>24842</attachid>
    <who name="Alfonso Martínez de Lizarrondo">amla70</who>
    <bug_when>2008-11-02 03:50:22 -0800</bug_when>
    <thetext>Created attachment 24842
testcase

The second paragraph shouldn&apos;t be editable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391605</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2011-04-24 09:46:06 -0700</bug_when>
    <thetext>*** Bug 58966 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396603</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-05-02 13:35:10 -0700</bug_when>
    <thetext>I think this bug should have been fixed since http://trac.webkit.org/changeset/85267.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396606</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-05-02 13:36:48 -0700</bug_when>
    <thetext>Confirmed that the bug no longer reproduces on the latest nightly build.

*** This bug has been marked as a duplicate of bug 53031 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>24842</attachid>
            <date>2008-11-02 03:50:22 -0800</date>
            <delta_ts>2008-11-02 03:50:22 -0800</delta_ts>
            <desc>testcase</desc>
            <filename>Copia de designmode.html</filename>
            <type>text/html</type>
            <size>499</size>
            <attacher name="Alfonso Martínez de Lizarrondo">amla70</attacher>
            
              <data encoding="base64">77u/PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9u
YWwvL0VOIj4NCjxodG1sPg0KCTxoZWFkPg0KCQk8dGl0bGU+PC90aXRsZT4NCgkJPHNjcmlwdCB0
eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPg0KDQoJd2luZG93Lm9ubG9hZCA9IGZ1bmN0aW9uKCkNCgl7
DQoJCWRvY3VtZW50LmRlc2lnbk1vZGUgPSAnb24nIDsNCgl9DQoNCgkJPC9zY3JpcHQ+DQoJPC9o
ZWFkPg0KCTxib2R5Pg0KCQk8ZGl2Pg0KCQkJPHA+DQoJCQkJVGhpcyBpcyBzb21lIDxiPnNhbXBs
ZTwvYj4gdGV4dC4gVGhlIHBhZ2UgaGFzIGRvY3VtZW50LmRlc2lnbk1vZGUgPSAnb24nDQoJCQk8
L3A+DQoJCQk8cCBjb250ZW50ZWRpdGFibGU9ImZhbHNlIj4NCgkJCQlUaGlzIGlzIHNvbWUgPGI+
c2FtcGxlPC9iPiB0ZXh0LiBUaGlzIHBhcmFncmFwaCBoYXMgY29udGVudEVkaXRhYmxlPSJmYWxz
ZSIuDQoJCQk8L3A+DQoJCTwvZGl2Pg0KCTwvYm9keT4NCjwvaHRtbD4NCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>