From 4ab2de700ace4072f92503032338490f76884cda Mon Sep 17 00:00:00 2001 From: Liu Date: Fri, 20 Nov 2026 00:32:51 +0800 Subject: [PATCH] test: use tailwind-style labels in block and percentage wrap fixtures Match the flex layout fixture: short utility-style labels keep example titles on one line and consistent across platform fonts. --- tests/fixtures/test_block_layout.xml | 18 +++++------ .../test_flex_layout_percentage_wrap.xml | 32 +++++++++---------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/tests/fixtures/test_block_layout.xml b/tests/fixtures/test_block_layout.xml index dbaa8eca..935bf4f8 100644 --- a/tests/fixtures/test_block_layout.xml +++ b/tests/fixtures/test_block_layout.xml @@ -5,7 +5,7 @@ - (0) Basic + (0) basic @@ -37,7 +37,7 @@ - (1) Width + (1) w-50 w-100 min-width: 50%; display: inline-block width: 50%; display: block @@ -51,7 +51,7 @@ - (2) Auto size + (2) w-auto h-auto block, limited width inline block, auto size @@ -59,7 +59,7 @@ - (3) Margin + (3) m-1 m--2 margin: 16px @@ -82,7 +82,7 @@ - (4) vertical-align + (4) align-middle align-bottom @@ -103,7 +103,7 @@ - (5) position: absolute + (5) absolute @@ -113,7 +113,7 @@ - (6) Dropdown menu + (6) dropdown-menu Dropdown item text @@ -124,7 +124,7 @@ - (7) Inline block nesting + (7) inline-block inline-block > inline-block @@ -141,7 +141,7 @@ - (5) Absolutely positioned progress bar + (5) absolute-progress loading... diff --git a/tests/fixtures/test_flex_layout_percentage_wrap.xml b/tests/fixtures/test_flex_layout_percentage_wrap.xml index fcdd83b4..388dd6cb 100644 --- a/tests/fixtures/test_flex_layout_percentage_wrap.xml +++ b/tests/fixtures/test_flex_layout_percentage_wrap.xml @@ -5,7 +5,7 @@ - Choice card layout + (0) choice-card @@ -32,7 +32,7 @@ - Four 30 percent flex items + (1) four-30 @@ -43,7 +43,7 @@ - Percentage and fixed flex items + (2) percent-fixed @@ -52,7 +52,7 @@ - Thirty thirty forty percent flex items + (3) 30-30-40 @@ -62,7 +62,7 @@ - Percentage and fixed flex items with gap + (4) percent-fixed gap-[10px] @@ -71,7 +71,7 @@ - Full width bordered flex item + (5) full-width border @@ -79,7 +79,7 @@ - Intrinsic percentage flex item + (6) intrinsic-percent @@ -89,7 +89,7 @@ - Decorated intrinsic percentage flex item + (7) intrinsic-percent border @@ -99,7 +99,7 @@ - Minimum percentage flex item + (8) min-percent @@ -108,7 +108,7 @@ - Percentage flex gap + (9) percent gap-[10%] @@ -117,7 +117,7 @@ - Fit-content percentage flex item with decorations + (10) fit-content border @@ -126,7 +126,7 @@ - Fit-content full percentage row wrap + (11) fit-content wrap @@ -135,7 +135,7 @@ - Fit-content percentage row totaling one hundred wrap + (12) fit-content-100 wrap @@ -145,7 +145,7 @@ - Fixed item before full percentage item + (13) fixed-full @@ -154,7 +154,7 @@ - Decorated percentage item before percentage item + (14) border percent-percent @@ -163,7 +163,7 @@ - Fit-content contribution of fixed wrap items + (15) fit-content-fixed wrap