Add better support for line breaking across inline box boundaries (#30628)

Earlier versions of inline layout in the new layout system did not
properly support line breaking when unbreakable segments spanned
multiple inline boxes. This change updates inline layout to add support
for that. Now items are added to an unbreakable segment before being
committed to a line.

Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Martin Robinson 2023-11-01 14:27:14 +01:00 committed by GitHub
parent 4d573dffa3
commit 6c4f098d41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 556 additions and 348 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,2 +0,0 @@
[c5502-imrgn-r-000.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[c5502-imrgn-r-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[c5504-imrgn-l-000.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[c5504-imrgn-l-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[c5507-ipadn-r-000.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[c5507-ipadn-r-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[c5509-ipadn-l-000.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[c5509-ipadn-l-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-nowrap-7.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-nowrap-8.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-nowrap-9.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[floats-line-wrap-shifted-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-normal-014.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-normal-015a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-normal-016a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-normal-016b.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-normal-017a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-normal-017b.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-011.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-012.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-013.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-014.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-015a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-016a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-016b.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-017a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-017b.xht]
expected: FAIL

View file

@ -1,11 +0,0 @@
[text-spacing-trim-wrap-001.html?class=halt,vrl]
expected: FAIL
[text-spacing-trim-wrap-001.html?class=chws,htb]
expected: FAIL
[text-spacing-trim-wrap-001.html?class=chws,vrl]
expected: FAIL
[text-spacing-trim-wrap-001.html?class=halt,htb]
expected: FAIL

View file

@ -1,2 +0,0 @@
[whitespace_nowrap_line_breaking_a.html]
expected: FAIL