<?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>286725</bug_id>
          <alias>sideways-lr-carets</alias>
          <creation_ts>2025-01-29 20:21:47 -0800</creation_ts>
          <short_desc>Selection and caret positioning in sideways-lr is broken</short_desc>
          <delta_ts>2025-02-14 09:27:52 -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>Layout and Rendering</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>286207</dependson>
    
    <dependson>286961</dependson>
          <blocked>166941</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="fantasai">fantasai.bugs</reporter>
          <assigned_to name="fantasai">fantasai.bugs</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2090627</commentid>
    <comment_count>0</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-01-29 20:21:47 -0800</bug_when>
    <thetext>Caret positioning and selecting text in sideways-lr doesn&apos;t work correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091608</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-02-03 14:41:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/144116841&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091663</commentid>
    <comment_count>2</comment_count>
      <attachid>474130</attachid>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-02-03 17:19:26 -0800</bug_when>
    <thetext>Created attachment 474130
testcase using contenteditable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094710</commentid>
    <comment_count>3</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-02-13 22:19:58 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/40087</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094711</commentid>
    <comment_count>4</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-02-13 22:20:27 -0800</bug_when>
    <thetext>Committed 290387@main (12e65d787eb0): &lt;https://commits.webkit.org/290387@main&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094713</commentid>
    <comment_count>5</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-02-13 22:25:43 -0800</bug_when>
    <thetext>We’re unable to get a perfect fix for this, because fully correct behavior also depends on landing the fix for bug 286961 / rdar://144117372; but this PR fully addresses the sideways-lr-specific aspects (the behavior is correct in a build that composes both fixes).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>474130</attachid>
            <date>2025-02-03 17:19:26 -0800</date>
            <delta_ts>2025-02-03 17:19:26 -0800</delta_ts>
            <desc>testcase using contenteditable</desc>
            <filename>test-sideways-lr.html</filename>
            <type>text/html</type>
            <size>159</size>
            <attacher name="fantasai">fantasai.bugs</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxwIHN0eWxlPSJoZWlnaHQ6IDVlbTsgYm9yZGVyOiBzb2xpZCBncmF5
OyB3cml0aW5nLW1vZGU6IHNpZGV3YXlzLWxyIiBjb250ZW50ZWRpdGFibGU+VGhpcyBpcyBzb21l
IHZlcnRpY2FsIHRleHQgdGhhdCB5b3UgY2FuIHNlbGVjdCBhbmQgZWRpdC4K
</data>

          </attachment>
      

    </bug>

</bugzilla>