<?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>216748</bug_id>
          
          <creation_ts>2020-09-20 12:06:06 -0700</creation_ts>
          <short_desc>Fix dump-as-markup.js to dump selection endpoints even when they are not in text nodes</short_desc>
          <delta_ts>2020-09-20 12:59:40 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=216739</see_also>
          <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="Darin Adler">darin</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1690192</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2020-09-20 12:06:06 -0700</bug_when>
    <thetext>Currently dump-as-markup.js only dumps selection endpoints when they are in text nodes. Should fix it so they get dumped even when they are not in text nodes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1690193</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2020-09-20 12:20:47 -0700</bug_when>
    <thetext>Strange, there does seem to be code to to this in dump-as-markup; not sure why it&apos;s not working.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1690196</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2020-09-20 12:30:16 -0700</bug_when>
    <thetext>I see what the problem is. The dump-as-markup.js script already handles this fine. The problem is that WebKit moves the selection endpoints. And it will stop doing so when we turn on the live range selection support, which means we are going to get very different results from all those tests!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>