<?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>299306</bug_id>
          
          <creation_ts>2025-09-22 11:00:57 -0700</creation_ts>
          <short_desc>text-autospace: normal doesn&apos;t add whitespace between HTML elements</short_desc>
          <delta_ts>2025-12-04 23:51:10 -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>Safari 26</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Zacky Ma">zacky</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>50167214</cc>
    
    <cc>bfulgham</cc>
    
    <cc>koivisto</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>vitor.roriz</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>xfq.free</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2144920</commentid>
    <comment_count>0</comment_count>
    <who name="Zacky Ma">zacky</who>
    <bug_when>2025-09-22 11:00:57 -0700</bug_when>
    <thetext>Given this HTML:

```html
&lt;p&gt;学习&lt;abbr&gt;CSS&lt;/abbr&gt;&lt;/p&gt;
```

And CSS:

```css
p {
  text-autospace: normal;
}
```

WebKit doesn&apos;t add whitespace between “学习” and “CSS”. Chromiums do add this. Here is the codepen for reproduce:

https://codepen.io/marchbox/pen/zxrGrXY</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2146894</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-29 11:01:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/161583309&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2146895</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-29 11:01:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/161583256&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2146909</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-09-29 11:22:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/161583309&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2163508</commentid>
    <comment_count>4</comment_count>
    <who name="Fuqiao Xue">xfq.free</who>
    <bug_when>2025-12-04 22:55:34 -0800</bug_when>
    <thetext>See also https://github.com/w3c/line_paragraph_tests/issues/100</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2163516</commentid>
    <comment_count>5</comment_count>
    <who name="yisibl">50167214</who>
    <bug_when>2025-12-04 23:51:10 -0800</bug_when>
    <thetext>If this issue is fixed, it should resolve many failed test cases in WPT.
https://wpt.fyi/results/css/css-text/text-autospace?label=experimental&amp;label=master&amp;aligned

WPT: https://wpt.live/css/css-text/text-autospace/text-autospace-elements-002.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>