From 28ff995b64ea73e78f8f93dd8e3933db436d8771 Mon Sep 17 00:00:00 2001 From: Mikhail Korolev Date: Mon, 15 Jun 2026 11:09:25 +0400 Subject: [PATCH 1/3] fix(ci): remove empty checkout 'with' and install net8 + net10 runtimes --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e50dafc..f638a62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,12 +18,13 @@ jobs: steps: - uses: actions/checkout@v4 - with: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '10.0.x' + dotnet-version: | + 8.0.x + 10.0.x - name: Restore run: dotnet restore FlexRender.slnx From da0e4da51c3dd9b0c3d44bc75c90a2ae6924ec36 Mon Sep 17 00:00:00 2001 From: Mikhail Korolev Date: Mon, 15 Jun 2026 11:17:48 +0400 Subject: [PATCH 2/3] test: sample padding-band pixel in WbReceipt background test for cross-platform stability --- .../Integration/WbReceiptIntegrationTests.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/FlexRender.Tests/Integration/WbReceiptIntegrationTests.cs b/tests/FlexRender.Tests/Integration/WbReceiptIntegrationTests.cs index c2cfa3f..d0fe125 100644 --- a/tests/FlexRender.Tests/Integration/WbReceiptIntegrationTests.cs +++ b/tests/FlexRender.Tests/Integration/WbReceiptIntegrationTests.cs @@ -107,8 +107,10 @@ public async Task WbReceipt_TextWithBackgroundButton_Renders() Assert.Null(exception); - // The text background should be black - var pixel = bitmap.GetPixel(10, 15); + // A pixel inside the element's top-left padding band must be the black + // background (padding is 8px, so (2,2) is inside the box but never covered + // by a glyph — glyphs are inset by the padding per the box model). + var pixel = bitmap.GetPixel(2, 2); Assert.Equal(0, pixel.Red); Assert.Equal(0, pixel.Green); Assert.Equal(0, pixel.Blue); From a6b699ca12b4d381cfb2822db3a309a4f1bcceaf Mon Sep 17 00:00:00 2001 From: Mikhail Korolev Date: Mon, 15 Jun 2026 11:33:05 +0400 Subject: [PATCH 3/3] fix(ci): remove empty checkout 'with' in playground workflow --- .github/workflows/playground.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/playground.yml b/.github/workflows/playground.yml index 251efac..478fb5a 100644 --- a/.github/workflows/playground.yml +++ b/.github/workflows/playground.yml @@ -31,7 +31,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - name: Setup .NET uses: actions/setup-dotnet@v4