<?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>8855</bug_id>
          
          <creation_ts>2006-05-11 11:30:53 -0700</creation_ts>
          <short_desc>Assertion failure in Position::upstream() when text-transform modifies text length</short_desc>
          <delta_ts>2024-03-07 14:16:26 -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>HTML Editing</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=31563</see_also>
          <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="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>dbates</cc>
    
    <cc>ian</cc>
    
    <cc>inferno</cc>
    
    <cc>justin.garcia</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42020</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-05-11 11:30:53 -0700</bug_when>
    <thetext>Steps to reproduce:
1. Open the attached test case in a debug build of WebKit.
2. Click anywhere below the text.

Results:
/Users/ap/WebKit/WebCore/dom/Position.cpp:341: failed assertion `currentOffset &gt;= renderer-&gt;caretMaxOffset()&apos;

This is of course highly related to the problem of non-selectable generated content.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42021</commentid>
    <comment_count>1</comment_count>
      <attachid>8246</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-05-11 11:31:13 -0700</bug_when>
    <thetext>Created attachment 8246
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164114</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-11-16 16:14:52 -0800</bug_when>
    <thetext>See also bug 31563</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1935975</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-02-22 14:56:51 -0800</bug_when>
    <thetext>I am not able to reproduce this assert in WebKit ToT based of 260689@main using Mini-Browser in WK2 window. Same is with WK1 window.

Can we close this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1935976</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-02-22 14:57:10 -0800</bug_when>
    <thetext>Just to update - I am using DEBUG build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2019458</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-03-07 14:16:26 -0800</bug_when>
    <thetext>Unable to reproduce using Debug WebKit ToT build (275804@main).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>8246</attachid>
            <date>2006-05-11 11:31:13 -0700</date>
            <delta_ts>2006-05-11 11:31:13 -0700</delta_ts>
            <desc>test case</desc>
            <filename>text-transform-assertion.html</filename>
            <type>text/html</type>
            <size>294</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRl
eHQvaHRtbDsgY2hhcnNldD1VVEYtOCI+CjxzY3JpcHQ+aWYgKHdpbmRvdy5sYXlvdXRUZXN0Q29u
dHJvbGxlcikgbGF5b3V0VGVzdENvbnRyb2xsZXIuZHVtcEFzVGV4dCgpOzwvc2NyaXB0Pgo8L2hl
YWQ+Cjxib2R5Pgo8cD5DbGljayBiZWxvdyBmb3IgYW4gYXNzZXJ0aW9uIHRvIGZhaWwuIDxzcGFu
IHN0eWxlPSJ0ZXh0LXRyYW5zZm9ybTp1cHBlcmNhc2UiPu+sgzwvc3Bhbj4uPC9wPgo8L2JvZHk+
CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>