<?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>27989</bug_id>
          
          <creation_ts>2009-08-04 10:49:53 -0700</creation_ts>
          <short_desc>AX: textUnderElement() should use a TextIterator instead of concatenating nodes</short_desc>
          <delta_ts>2013-03-05 09:11:04 -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>Accessibility</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="chris fleizach">cfleizach</reporter>
          <assigned_to name="chris fleizach">cfleizach</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>137055</commentid>
    <comment_count>0</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2009-08-04 10:49:53 -0700</bug_when>
    <thetext>Generally speaking it seems that the textUnderElement ought to contain the same
kind of whitespace-collapsing logic that the normal rendering code does. This
could be done by using the TextIterator instead of walking the nodes and
concatenating them all. Not sure what bug it will cause that this just appends
the DOM, but I suspect it will cause problems, especially when there are</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137057</commentid>
    <comment_count>1</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2009-08-04 10:57:07 -0700</bug_when>
    <thetext>elements with &quot;display: none&quot; or &quot;visibility: hidden&quot; involved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>847733</commentid>
    <comment_count>2</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2013-03-05 09:11:04 -0800</bug_when>
    <thetext>we decided against this because it would not allow us to include the alt text of an image when getting the textUnderElement</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>