From 03c30ced23a04c08ce10787fe79843c74af9cc5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E4=B8=9C=E5=8B=8B=20=7C=20=E9=87=91=E6=9D=B1?= =?UTF-8?q?=E5=8B=B3=20=7C=20=EA=B9=80=EB=8F=99=ED=9B=88=20=7C=20Jin=20Don?= =?UTF-8?q?gxun?= Date: Sat, 14 Nov 2026 09:54:41 +0800 Subject: [PATCH] Advance the earlier plane index for non-overlapping layouts --- index.src.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/index.src.html b/index.src.html index f6959c40..21621d8a 100644 --- a/index.src.html +++ b/index.src.html @@ -4393,17 +4393,16 @@ 17. Let |earlierPlaneIndex| be `0`. 18. While |earlierPlaneIndex| is less than |planeIndex|. 1. Let |earlierLayout| be `computedLayouts[earlierPlaneIndex]`. - 2. If `endOffsets[planeIndex]` is less than or equal to - |earlierLayout|'s [=computed plane layout/destinationOffset=] or - if `endOffsets[earlierPlaneIndex]` is less than or equal to + 2. If `endOffsets[planeIndex]` is greater than + |earlierLayout|'s [=computed plane layout/destinationOffset=] and + `endOffsets[earlierPlaneIndex]` is greater than |computedLayout|'s [=computed plane layout/destinationOffset=], - continue. + return a {{TypeError}}. - NOTE: If plane A ends before plane B starts, they do not + NOTE: If plane A ends at or before plane B starts, they do not overlap. - 3. Otherwise, return a {{TypeError}}. - 4. Increment |earlierPlaneIndex| by `1`. + 3. Increment |earlierPlaneIndex| by `1`. 19. Append |computedLayout| to |computedLayouts|. 20. Increment |planeIndex| by `1`. 8. Let |combinedLayout| be a new [=combined buffer layout=], initialized as