Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:

steps:
- uses: actions/checkout@v4
with:

- name: Setup .NET
uses: actions/setup-dotnet@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading