diff --git a/.playwright/screenshots/alignment-mixed.png b/.playwright/screenshots/alignment-mixed.png index c4177a5a6..32dfb4888 100644 Binary files a/.playwright/screenshots/alignment-mixed.png and b/.playwright/screenshots/alignment-mixed.png differ diff --git a/.playwright/screenshots/display-alignment-checkbox.png b/.playwright/screenshots/display-alignment-checkbox.png index 16a347cfa..953b4c05d 100644 Binary files a/.playwright/screenshots/display-alignment-checkbox.png and b/.playwright/screenshots/display-alignment-checkbox.png differ diff --git a/.playwright/screenshots/display-alignment-mixed-lists.png b/.playwright/screenshots/display-alignment-mixed-lists.png index 3d28fd05e..3a9874e6e 100644 Binary files a/.playwright/screenshots/display-alignment-mixed-lists.png and b/.playwright/screenshots/display-alignment-mixed-lists.png differ diff --git a/.playwright/screenshots/display-alignment-ol.png b/.playwright/screenshots/display-alignment-ol.png index dab2f7ee2..e28ae905d 100644 Binary files a/.playwright/screenshots/display-alignment-ol.png and b/.playwright/screenshots/display-alignment-ol.png differ diff --git a/.playwright/screenshots/display-alignment-ul.png b/.playwright/screenshots/display-alignment-ul.png index 1f46b8269..c1f667e87 100644 Binary files a/.playwright/screenshots/display-alignment-ul.png and b/.playwright/screenshots/display-alignment-ul.png differ diff --git a/.playwright/screenshots/enriched-text-all-list-types.png b/.playwright/screenshots/enriched-text-all-list-types.png index a7628b235..a10a8fde5 100644 Binary files a/.playwright/screenshots/enriched-text-all-list-types.png and b/.playwright/screenshots/enriched-text-all-list-types.png differ diff --git a/.playwright/screenshots/enriched-text-checkbox-list-checked.png b/.playwright/screenshots/enriched-text-checkbox-list-checked.png index 69d805957..ba23f891f 100644 Binary files a/.playwright/screenshots/enriched-text-checkbox-list-checked.png and b/.playwright/screenshots/enriched-text-checkbox-list-checked.png differ diff --git a/.playwright/screenshots/enriched-text-checkbox-list-empty-items.png b/.playwright/screenshots/enriched-text-checkbox-list-empty-items.png index fc5b56589..40c593608 100644 Binary files a/.playwright/screenshots/enriched-text-checkbox-list-empty-items.png and b/.playwright/screenshots/enriched-text-checkbox-list-empty-items.png differ diff --git a/.playwright/screenshots/enriched-text-checkbox-list-unchecked.png b/.playwright/screenshots/enriched-text-checkbox-list-unchecked.png index fce7f975e..295f26f61 100644 Binary files a/.playwright/screenshots/enriched-text-checkbox-list-unchecked.png and b/.playwright/screenshots/enriched-text-checkbox-list-unchecked.png differ diff --git a/.playwright/screenshots/enriched-text-checkbox-list-wrapped.png b/.playwright/screenshots/enriched-text-checkbox-list-wrapped.png index 27d2ef38c..acc0ea524 100644 Binary files a/.playwright/screenshots/enriched-text-checkbox-list-wrapped.png and b/.playwright/screenshots/enriched-text-checkbox-list-wrapped.png differ diff --git a/.playwright/screenshots/enriched-text-images-inside-list.png b/.playwright/screenshots/enriched-text-images-inside-list.png index 40eb481ee..c8505081f 100644 Binary files a/.playwright/screenshots/enriched-text-images-inside-list.png and b/.playwright/screenshots/enriched-text-images-inside-list.png differ diff --git a/.playwright/screenshots/enriched-text-images-placeholder-list.png b/.playwright/screenshots/enriched-text-images-placeholder-list.png index dd9e372db..4c32283da 100644 Binary files a/.playwright/screenshots/enriched-text-images-placeholder-list.png and b/.playwright/screenshots/enriched-text-images-placeholder-list.png differ diff --git a/.playwright/screenshots/enriched-text-ordered-list-empty-items.png b/.playwright/screenshots/enriched-text-ordered-list-empty-items.png index dd41cd530..2019cc9b0 100644 Binary files a/.playwright/screenshots/enriched-text-ordered-list-empty-items.png and b/.playwright/screenshots/enriched-text-ordered-list-empty-items.png differ diff --git a/.playwright/screenshots/enriched-text-ordered-list-extended-margin-after.png b/.playwright/screenshots/enriched-text-ordered-list-extended-margin-after.png new file mode 100644 index 000000000..a14301aef Binary files /dev/null and b/.playwright/screenshots/enriched-text-ordered-list-extended-margin-after.png differ diff --git a/.playwright/screenshots/enriched-text-ordered-list-extended-margin-before.png b/.playwright/screenshots/enriched-text-ordered-list-extended-margin-before.png new file mode 100644 index 000000000..053f4b714 Binary files /dev/null and b/.playwright/screenshots/enriched-text-ordered-list-extended-margin-before.png differ diff --git a/.playwright/screenshots/enriched-text-ordered-list-wrapped.png b/.playwright/screenshots/enriched-text-ordered-list-wrapped.png index 0939b509d..55ae3652f 100644 Binary files a/.playwright/screenshots/enriched-text-ordered-list-wrapped.png and b/.playwright/screenshots/enriched-text-ordered-list-wrapped.png differ diff --git a/.playwright/screenshots/enriched-text-ordered-list.png b/.playwright/screenshots/enriched-text-ordered-list.png index 8aa698c69..164425475 100644 Binary files a/.playwright/screenshots/enriched-text-ordered-list.png and b/.playwright/screenshots/enriched-text-ordered-list.png differ diff --git a/.playwright/screenshots/enriched-text-unordered-list-empty-items.png b/.playwright/screenshots/enriched-text-unordered-list-empty-items.png index e1b9a06db..509cf2501 100644 Binary files a/.playwright/screenshots/enriched-text-unordered-list-empty-items.png and b/.playwright/screenshots/enriched-text-unordered-list-empty-items.png differ diff --git a/.playwright/screenshots/enriched-text-unordered-list-wrapped.png b/.playwright/screenshots/enriched-text-unordered-list-wrapped.png index 918add414..9f85e6c01 100644 Binary files a/.playwright/screenshots/enriched-text-unordered-list-wrapped.png and b/.playwright/screenshots/enriched-text-unordered-list-wrapped.png differ diff --git a/.playwright/screenshots/enriched-text-unordered-list.png b/.playwright/screenshots/enriched-text-unordered-list.png index 5f98bdc97..6d948c649 100644 Binary files a/.playwright/screenshots/enriched-text-unordered-list.png and b/.playwright/screenshots/enriched-text-unordered-list.png differ diff --git a/.playwright/screenshots/images-checkbox-list-placeholder.png b/.playwright/screenshots/images-checkbox-list-placeholder.png index d0f5fe7d7..e9ec213c1 100644 Binary files a/.playwright/screenshots/images-checkbox-list-placeholder.png and b/.playwright/screenshots/images-checkbox-list-placeholder.png differ diff --git a/.playwright/screenshots/images-loaded-in-list.png b/.playwright/screenshots/images-loaded-in-list.png index b75a46c71..0f7c10887 100644 Binary files a/.playwright/screenshots/images-loaded-in-list.png and b/.playwright/screenshots/images-loaded-in-list.png differ diff --git a/.playwright/screenshots/images-ol-placeholder.png b/.playwright/screenshots/images-ol-placeholder.png index cf170fb65..f092035f2 100644 Binary files a/.playwright/screenshots/images-ol-placeholder.png and b/.playwright/screenshots/images-ol-placeholder.png differ diff --git a/.playwright/screenshots/images-ul-placeholder.png b/.playwright/screenshots/images-ul-placeholder.png index 69c010bae..d26c58919 100644 Binary files a/.playwright/screenshots/images-ul-placeholder.png and b/.playwright/screenshots/images-ul-placeholder.png differ diff --git a/.playwright/screenshots/list-keyboard-backspace-after-lift-bullet.png b/.playwright/screenshots/list-keyboard-backspace-after-lift-bullet.png index 2cd7ec9a4..ddeb3436b 100644 Binary files a/.playwright/screenshots/list-keyboard-backspace-after-lift-bullet.png and b/.playwright/screenshots/list-keyboard-backspace-after-lift-bullet.png differ diff --git a/.playwright/screenshots/list-keyboard-backspace-after-lift-checkbox.png b/.playwright/screenshots/list-keyboard-backspace-after-lift-checkbox.png index b012fd9b2..0df2d6fb8 100644 Binary files a/.playwright/screenshots/list-keyboard-backspace-after-lift-checkbox.png and b/.playwright/screenshots/list-keyboard-backspace-after-lift-checkbox.png differ diff --git a/.playwright/screenshots/list-keyboard-backspace-after-lift-ordered.png b/.playwright/screenshots/list-keyboard-backspace-after-lift-ordered.png index d5f942ede..6dc870c51 100644 Binary files a/.playwright/screenshots/list-keyboard-backspace-after-lift-ordered.png and b/.playwright/screenshots/list-keyboard-backspace-after-lift-ordered.png differ diff --git a/.playwright/screenshots/list-keyboard-backspace-after-merge-bullet.png b/.playwright/screenshots/list-keyboard-backspace-after-merge-bullet.png index fffab7a47..e6f5816b5 100644 Binary files a/.playwright/screenshots/list-keyboard-backspace-after-merge-bullet.png and b/.playwright/screenshots/list-keyboard-backspace-after-merge-bullet.png differ diff --git a/.playwright/screenshots/list-keyboard-backspace-after-merge-checkbox.png b/.playwright/screenshots/list-keyboard-backspace-after-merge-checkbox.png index 0d67e85bf..1747824b6 100644 Binary files a/.playwright/screenshots/list-keyboard-backspace-after-merge-checkbox.png and b/.playwright/screenshots/list-keyboard-backspace-after-merge-checkbox.png differ diff --git a/.playwright/screenshots/list-keyboard-backspace-after-merge-ordered.png b/.playwright/screenshots/list-keyboard-backspace-after-merge-ordered.png index 5189ac0a7..9e8a61243 100644 Binary files a/.playwright/screenshots/list-keyboard-backspace-after-merge-ordered.png and b/.playwright/screenshots/list-keyboard-backspace-after-merge-ordered.png differ diff --git a/.playwright/screenshots/list-keyboard-enter-bullet.png b/.playwright/screenshots/list-keyboard-enter-bullet.png index 729777807..5870498a1 100644 Binary files a/.playwright/screenshots/list-keyboard-enter-bullet.png and b/.playwright/screenshots/list-keyboard-enter-bullet.png differ diff --git a/.playwright/screenshots/list-keyboard-enter-causes-scrolling-bullet.png b/.playwright/screenshots/list-keyboard-enter-causes-scrolling-bullet.png index 745b3f299..012dd8c67 100644 Binary files a/.playwright/screenshots/list-keyboard-enter-causes-scrolling-bullet.png and b/.playwright/screenshots/list-keyboard-enter-causes-scrolling-bullet.png differ diff --git a/.playwright/screenshots/list-keyboard-enter-causes-scrolling-checkbox.png b/.playwright/screenshots/list-keyboard-enter-causes-scrolling-checkbox.png index 923a321c1..f1efdb12f 100644 Binary files a/.playwright/screenshots/list-keyboard-enter-causes-scrolling-checkbox.png and b/.playwright/screenshots/list-keyboard-enter-causes-scrolling-checkbox.png differ diff --git a/.playwright/screenshots/list-keyboard-enter-causes-scrolling-ordered.png b/.playwright/screenshots/list-keyboard-enter-causes-scrolling-ordered.png index 408fe7031..602284858 100644 Binary files a/.playwright/screenshots/list-keyboard-enter-causes-scrolling-ordered.png and b/.playwright/screenshots/list-keyboard-enter-causes-scrolling-ordered.png differ diff --git a/.playwright/screenshots/list-keyboard-enter-checkbox.png b/.playwright/screenshots/list-keyboard-enter-checkbox.png index c2f0c16e9..0d1511c3d 100644 Binary files a/.playwright/screenshots/list-keyboard-enter-checkbox.png and b/.playwright/screenshots/list-keyboard-enter-checkbox.png differ diff --git a/.playwright/screenshots/list-keyboard-enter-ordered.png b/.playwright/screenshots/list-keyboard-enter-ordered.png index d8aaacd37..268e4fa7e 100644 Binary files a/.playwright/screenshots/list-keyboard-enter-ordered.png and b/.playwright/screenshots/list-keyboard-enter-ordered.png differ diff --git a/.playwright/screenshots/list-nested-html-ol-in-ul.png b/.playwright/screenshots/list-nested-html-ol-in-ul.png index b14d475ec..38f2bd273 100644 Binary files a/.playwright/screenshots/list-nested-html-ol-in-ul.png and b/.playwright/screenshots/list-nested-html-ol-in-ul.png differ diff --git a/.playwright/screenshots/list-nested-html-triple-nested-ul.png b/.playwright/screenshots/list-nested-html-triple-nested-ul.png index 7ceb3c7d2..76186d563 100644 Binary files a/.playwright/screenshots/list-nested-html-triple-nested-ul.png and b/.playwright/screenshots/list-nested-html-triple-nested-ul.png differ diff --git a/.playwright/screenshots/list-nested-html-ul-in-ol.png b/.playwright/screenshots/list-nested-html-ul-in-ol.png index 246c6eadd..1e38b3ccd 100644 Binary files a/.playwright/screenshots/list-nested-html-ul-in-ol.png and b/.playwright/screenshots/list-nested-html-ul-in-ol.png differ diff --git a/.playwright/screenshots/list-nested-html-ul-in-ul.png b/.playwright/screenshots/list-nested-html-ul-in-ul.png index 5369c0be1..35f341a6b 100644 Binary files a/.playwright/screenshots/list-nested-html-ul-in-ul.png and b/.playwright/screenshots/list-nested-html-ul-in-ul.png differ diff --git a/.playwright/screenshots/paragraph-styles-visual-checkbox-list-wrapped.png b/.playwright/screenshots/paragraph-styles-visual-checkbox-list-wrapped.png index d23bb7ab9..7ae56add0 100644 Binary files a/.playwright/screenshots/paragraph-styles-visual-checkbox-list-wrapped.png and b/.playwright/screenshots/paragraph-styles-visual-checkbox-list-wrapped.png differ diff --git a/.playwright/screenshots/paragraph-styles-visual-checkbox-list.png b/.playwright/screenshots/paragraph-styles-visual-checkbox-list.png index 856ad1599..769e37a94 100644 Binary files a/.playwright/screenshots/paragraph-styles-visual-checkbox-list.png and b/.playwright/screenshots/paragraph-styles-visual-checkbox-list.png differ diff --git a/.playwright/screenshots/paragraph-styles-visual-ordered-list-extended-margin-after.png b/.playwright/screenshots/paragraph-styles-visual-ordered-list-extended-margin-after.png new file mode 100644 index 000000000..0da7c3ecd Binary files /dev/null and b/.playwright/screenshots/paragraph-styles-visual-ordered-list-extended-margin-after.png differ diff --git a/.playwright/screenshots/paragraph-styles-visual-ordered-list-extended-margin-before.png b/.playwright/screenshots/paragraph-styles-visual-ordered-list-extended-margin-before.png new file mode 100644 index 000000000..7ffd6e6c2 Binary files /dev/null and b/.playwright/screenshots/paragraph-styles-visual-ordered-list-extended-margin-before.png differ diff --git a/.playwright/screenshots/paragraph-styles-visual-ordered-list-wrapped.png b/.playwright/screenshots/paragraph-styles-visual-ordered-list-wrapped.png index 5f8313ec0..d5c73e198 100644 Binary files a/.playwright/screenshots/paragraph-styles-visual-ordered-list-wrapped.png and b/.playwright/screenshots/paragraph-styles-visual-ordered-list-wrapped.png differ diff --git a/.playwright/screenshots/paragraph-styles-visual-ordered-list.png b/.playwright/screenshots/paragraph-styles-visual-ordered-list.png index 329fdf435..3a125b8ff 100644 Binary files a/.playwright/screenshots/paragraph-styles-visual-ordered-list.png and b/.playwright/screenshots/paragraph-styles-visual-ordered-list.png differ diff --git a/.playwright/screenshots/paragraph-styles-visual-unordered-list-wrapped.png b/.playwright/screenshots/paragraph-styles-visual-unordered-list-wrapped.png index e12b822fc..5b5a837bb 100644 Binary files a/.playwright/screenshots/paragraph-styles-visual-unordered-list-wrapped.png and b/.playwright/screenshots/paragraph-styles-visual-unordered-list-wrapped.png differ diff --git a/.playwright/screenshots/paragraph-styles-visual-unordered-list.png b/.playwright/screenshots/paragraph-styles-visual-unordered-list.png index 9315b1dfc..84a373c79 100644 Binary files a/.playwright/screenshots/paragraph-styles-visual-unordered-list.png and b/.playwright/screenshots/paragraph-styles-visual-unordered-list.png differ diff --git a/.playwright/tests/enrichedTextVisual.spec.ts b/.playwright/tests/enrichedTextVisual.spec.ts index c1be2ea1e..9eb288b59 100644 --- a/.playwright/tests/enrichedTextVisual.spec.ts +++ b/.playwright/tests/enrichedTextVisual.spec.ts @@ -124,6 +124,27 @@ test.describe('visual: complex lists and layouts', () => { }); }); +test.describe('visual: extended ordered list margin', () => { + test('ordered list adds a necessary margin to fit larger marker values', async ({ + page, + }) => { + const htmlBefore = `