<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14067</bug_id>
          
          <creation_ts>2011-09-07 19:36:47 +0000</creation_ts>
          <short_desc>Value for createLink and unlink can be null instead of a string</short_desc>
          <delta_ts>2011-09-15 22:28:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - HTML Editing APIs</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Aryeh Gregor">ayg</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact name="HTML Editing APIs spec bugbot">sideshowbarker+html-editing-api</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56484</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-09-07 19:36:47 +0000</bug_when>
    <thetext>Values should all be strings.  No browser returns values at all for these; I should just remove value/indeterm for now from createLink/unlink.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56864</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-09-15 21:10:33 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/editing/rev/d0760b6d50a5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56867</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-09-15 21:27:48 +0000</bug_when>
    <thetext>The change was broken, reverted:

https://dvcs.w3.org/hg/editing/rev/2d9559086d05

Won&apos;t reinstate until I have the tests regenerated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56869</commentid>
    <comment_count>3</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-09-15 21:50:19 +0000</bug_when>
    <thetext>Turns out there are multiple places where we call queryCommandValue() for createLink, or refer to its value.  As far as I can tell, the only cases right now are in &quot;record current states and values&quot; and &quot;restore states and values&quot;.  Working around these is not entirely trivial, since we have to support value overrides in the latter case.  I&apos;ll have to add special cases for createLink.  Already done for the former, now need to do it for the latter.  Obnoxiously, it takes ten minutes or so to generate the tests and spot these bugs . . .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56870</commentid>
    <comment_count>4</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-09-15 22:28:02 +0000</bug_when>
    <thetext>Fixed properly this time:

https://dvcs.w3.org/hg/editing/rev/3cc579b879ac

Where &quot;properly&quot; means &quot;with more special cases&quot;, naturally.  But it works.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>