Bug 299306
| Summary: | text-autospace: normal doesn't add whitespace between HTML elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Zacky Ma <zacky> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | 50167214, bfulgham, koivisto, ntim, simon.fraser, vitor.roriz, webkit-bug-importer, xfq.free, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 26 | ||
| Hardware: | All | ||
| OS: | All | ||
Zacky Ma
Given this HTML:
```html
<p>学习<abbr>CSS</abbr></p>
```
And CSS:
```css
p {
text-autospace: normal;
}
```
WebKit doesn't add whitespace between “学习” and “CSS”. Chromiums do add this. Here is the codepen for reproduce:
https://codepen.io/marchbox/pen/zxrGrXY
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/161583309>
Radar WebKit Bug Importer
<rdar://problem/161583256>
Simon Fraser (smfr)
<rdar://problem/161583309>
Fuqiao Xue
See also https://github.com/w3c/line_paragraph_tests/issues/100
yisibl
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&label=master&aligned
WPT: https://wpt.live/css/css-text/text-autospace/text-autospace-elements-002.html