<?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>233002</bug_id>
          
          <creation_ts>2021-11-11 10:00:30 -0800</creation_ts>
          <short_desc>[LFC][IFC] Reset InlineTextItem width on bidi split</short_desc>
          <delta_ts>2021-11-11 11:08: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 Nightly 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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="alan">zalan</reporter>
          <assigned_to name="alan">zalan</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>darin</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>1814076</commentid>
    <comment_count>0</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2021-11-11 10:00:30 -0800</bug_when>
    <thetext>ssia</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1814079</commentid>
    <comment_count>1</comment_count>
      <attachid>443963</attachid>
    <who name="alan">zalan</who>
    <bug_when>2021-11-11 10:03:27 -0800</bug_when>
    <thetext>Created attachment 443963
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1814080</commentid>
    <comment_count>2</comment_count>
      <attachid>443963</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2021-11-11 10:05:43 -0800</bug_when>
    <thetext>Comment on attachment 443963
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=443963&amp;action=review

&gt; Source/WebCore/ChangeLog:8
&gt; +        We remeasure the individual inline items right before line breaking.

Was there a test that could have caught this mistake?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1814085</commentid>
    <comment_count>3</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2021-11-11 10:14:17 -0800</bug_when>
    <thetext>(In reply to Darin Adler from comment #2)
&gt; Comment on attachment 443963 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=443963&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/ChangeLog:8
&gt; &gt; +        We remeasure the individual inline items right before line breaking.
&gt; 
&gt; Was there a test that could have caught this mistake?
fast/text/international/bidi-layout-across-linebreak.html would have caught this, if this codepath was enabled (which it did at my trybot bug 229638).  
I am in the middle of enabling bidi content (including this codepath) for IFC (bug 232980) and going through the failures at https://ews-build.s3-us-west-2.amazonaws.com/macOS-Catalina-Release-WK1-Tests-EWS/r443898-20106/results.html (the trybot output)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1814123</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-11-11 11:07:03 -0800</bug_when>
    <thetext>Committed r285642 (244143@main): &lt;https://commits.webkit.org/244143@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 443963.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1814126</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-11-11 11:08:52 -0800</bug_when>
    <thetext>&lt;rdar://problem/85307114&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>443963</attachid>
            <date>2021-11-11 10:03:27 -0800</date>
            <delta_ts>2021-11-11 11:07:05 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-233002-20211111100326.patch</filename>
            <type>text/plain</type>
            <size>1505</size>
            <attacher name="alan">zalan</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjg1NjMwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggM2JhMmNjYWI1NWE5OTJi
ZDNiODM3MjMyMTdmMzEwODVhZmRhZDJkNS4uMjAyMzQ4MDVkMmE5MDczMDdmOGQ4N2U0YTc4YTBh
ZWI5MmY5ZDYyNiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDIxLTExLTExICBBbGFu
IEJ1anRhcyAgPHphbGFuQGFwcGxlLmNvbT4KKworICAgICAgICBbTEZDXVtJRkNdIFJlc2V0IElu
bGluZVRleHRJdGVtIHdpZHRoIG9uIGJpZGkgc3BsaXQKKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIzMzAwMgorCisgICAgICAgIFJldmlld2VkIGJ5IE5P
Qk9EWSAoT09QUyEpLgorCisgICAgICAgIFdlIHJlbWVhc3VyZSB0aGUgaW5kaXZpZHVhbCBpbmxp
bmUgaXRlbXMgcmlnaHQgYmVmb3JlIGxpbmUgYnJlYWtpbmcuCisKKyAgICAgICAgKiBsYXlvdXQv
Zm9ybWF0dGluZ0NvbnRleHRzL2lubGluZS9JbmxpbmVUZXh0SXRlbS5jcHA6CisgICAgICAgIChX
ZWJDb3JlOjpMYXlvdXQ6OklubGluZVRleHRJdGVtOjpzcGxpdCk6CisKIDIwMjEt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