Skip to content

[Testing] Make HybridWebView gallery reset restore document origin - #40237

Merged
kubaflo merged 1 commit into
candidate/11.0.1xx-sr2from
kubaflo-candidate-hybridwebview-reset
Nov 13, 2026
Merged

kubaflo merged 1 commit into
candidate/11.0.1xx-sr2from
kubaflo-candidate-hybridwebview-reset

Conversation

@kubaflo

@kubaflo kubaflo commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Target Branch

This PR is for Initial base
New features, API changes, or .NET 12 work (including .NET 12 fixes) main
.NET 11 servicing fixes net11, for review
Older servicing, release integration, infrastructure, or documentation The branch designated for that work

For .NET 11 fixes, only a maintainer retargets the approved PR to the active
inflight lane and merges it after CI validates that final base. Do not merge
individual fixes directly into net11; agents must not retarget or merge.

This gallery/test correction is explicitly assigned to candidate/11.0.1xx-sr2, based on 7e47665ecb7f68d3fb31f8d02806e2bf177f505d. It does not change framework behavior or release routing.

Description of Change

Resetting the HybridWebView gallery properties and reloading the document did not reset its scroll position. Different DefaultFile values share the same browser URL, allowing the offset left by navigation.html to be restored in index.html. The native WebView frame remains [27,90][1054,746], but its heading moves from Y=244 to Y=139 after navigation and Reset. This is document history dependence, not native control geometry.

On Reset only, disable automatic history scroll restoration before reloading, then scroll the newly ready DOM to (0,0) and positively check both coordinates before publishing Loaded. Preserve exact-title matching, the old-document reload marker, DOM readiness independent of remote images, and the existing 50-attempt/100ms polling budget. Other gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting navigation.html, resetting, and asserting that the native heading bounds return to their original position before the existing screenshot assertion. Refresh only the two Android API30 Shadow/FlowDirection goldens to the verified document origin. No product changes, offsets, delays, tolerance/mask/crop/retry changes, skips, or new harness are included.

Native causal evidence — all Android runs use the same exclusively assigned API30 emulator, 1080x1920 at 420dpi:

  • Exact original CI1679745 APK, SHA256 58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639: unchanged complete fixture has 9 passed / 2 failed, with both original visuals differing by 7.90%. The strengthened isolated Shadow test independently fails on heading bounds Y244 -> Y139, before screenshot comparison.
  • Trigger removed: the unchanged HybridWebView fixture with only its two navigation predecessors excluded passes 9/9, including both visuals against the origin goldens. The original runner was copied for this control; no test exclusion was committed.
  • Fix applied: the complete fixture passes 11/11, and both visual tests pass individually. Heading bounds are [103,244][979,349] before navigation and after Reset.
  • Gallery source reverted byte-for-byte to the candidate source and rebuilt with the same local toolchain: complete fixture returns to 9 passed / 2 failed; isolated strengthened Shadow again fails Y244 -> Y139. The corresponding trigger-removed control passes 9/9.
  • Fix restored and pushed as ca6f36f39093dcc72c723c0cb01bfe7ce69f5952: rebuilt after push, then three complete fixture runs pass 11/11 each. Two additional isolated runs of each visual test pass. No first-attempt failure was converted into a pass by rerunning it.

Commands and results:

  • dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs --verbosity quiet — passed.
  • pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android -DeviceUdid emulator-5582 -TestFilter 'FullyQualifiedName~HybridWebViewFeatureTests' — restored fix and post-push rebuild passed 11/11; the source-reverted control failed 2/11 as expected.
  • The isolated and repeat executions use the freshly built test assembly through dotnet vstest, with the same assigned emulator and independent TRX/log directories; existing screenshot strictness is unchanged.

Limits: local source builds use the available .NET SDK 11.0.100, runtime 11.0.0, and GA Android workload, not the candidate-pinned 11.0.101-servicing.26559.106 toolchain. The emulator has WebView 91.0.4472.114, not CI's WebView83. This is native causal validation, not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst and Android API36 were not run; their goldens are unchanged. Only automatic CI is requested by publishing this PR; no extra CI waves were queued.

Upstream ownership was refreshed before publication: #40195/#40197 repair title readiness, #39795 repairs MIME handling, and #39918 owns broader test infrastructure. None implements this gallery reset correction.

Issues Fixed

Addresses the remaining Android HybridWebView Shadow and FlowDirection failures investigated from #40116, following #40197. No product issue is closed by this gallery-only correction.

Prevent history restoration from retaining another DefaultFile's scroll offset during Reset. Publish Loaded only after the new DOM is at scroll origin, preserving title and reload-marker readiness.

Exercise navigation then reset in the existing Shadow test and refresh only the two Android API30 origin baselines.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

This comment has been minimized.

@kubaflo

This comment has been minimized.

@kubaflo

kubaflo commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

/rebase

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Nov 13, 2026
@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@MauiBot

MauiBot commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

PR Test Gate

@kubaflo — existing-test verification; Setup did not capture a tested commit.

Result INCONCLUSIVE Platform Android


🧪 Gate analysis — click to expand

⚠ Inconclusive. Setup, build, or execution did not produce a conclusive result. This does not prove the fix is incorrect.

No interpretable test-group summary was produced. No additional test execution is inferred.

Setup did not capture a verified PR head; no commit is claimed as tested.

No immutable without-fix baseline was prepared.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Nov 13, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expert Review — 0 findings

Reviewed commit ca6f36f.

@kubaflo
kubaflo merged commit ebf55b8 into candidate/11.0.1xx-sr2 Nov 13, 2026
48 of 66 checks passed
@kubaflo
kubaflo deleted the kubaflo-candidate-hybridwebview-reset branch November 13, 2026 18:29
kubaflo added a commit that referenced this pull request Nov 13, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 16, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 16, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 17, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 19, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 22, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 23, 2026
…40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: #40195/#40197
repair title readiness, #39795 repairs MIME handling, and #39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from #40116, following #40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@kubaflo kubaflo added this to the .NET 11 SR2 milestone Nov 24, 2026
KarthikRajaKalaimani pushed a commit to KarthikRajaKalaimani/maui that referenced this pull request Nov 26, 2026
…otnet#40237)

<!-- Please let the below note in for people that find this PR -->
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This gallery/test correction is explicitly assigned to
`candidate/11.0.1xx-sr2`, based on
`7e47665ecb7f68d3fb31f8d02806e2bf177f505d`. It does not change framework
behavior or release routing.

### Description of Change

<!-- Enter description of the fix in this section -->

Resetting the HybridWebView gallery properties and reloading the
document did not reset its scroll position. Different `DefaultFile`
values share the same browser URL, allowing the offset left by
`navigation.html` to be restored in `index.html`. The native WebView
frame remains `[27,90][1054,746]`, but its heading moves from Y=244 to
Y=139 after navigation and Reset. This is document history dependence,
not native control geometry.

On Reset only, disable automatic history scroll restoration before
reloading, then scroll the newly ready DOM to `(0,0)` and positively
check both coordinates before publishing `Loaded`. Preserve exact-title
matching, the old-document reload marker, DOM readiness independent of
remote images, and the existing 50-attempt/100ms polling budget. Other
gallery actions retain their existing title-readiness path.

Strengthen the existing Shadow test by visiting `navigation.html`,
resetting, and asserting that the native heading bounds return to their
original position before the existing screenshot assertion. Refresh only
the two Android API30 Shadow/FlowDirection goldens to the verified
document origin. No product changes, offsets, delays,
tolerance/mask/crop/retry changes, skips, or new harness are included.

**Native causal evidence** — all Android runs use the same exclusively
assigned API30 emulator, 1080x1920 at 420dpi:

- Exact original CI1679745 APK, SHA256
`58ed1fc29acae710be628e47a957930faff6127f0d9a9230a5c954e59fc00639`:
unchanged complete fixture has **9 passed / 2 failed**, with both
original visuals differing by **7.90%**. The strengthened isolated
Shadow test independently fails on heading bounds **Y244 -> Y139**,
before screenshot comparison.
- Trigger removed: the unchanged HybridWebView fixture with only its two
navigation predecessors excluded passes **9/9**, including both visuals
against the origin goldens. The original runner was copied for this
control; no test exclusion was committed.
- Fix applied: the complete fixture passes **11/11**, and both visual
tests pass individually. Heading bounds are `[103,244][979,349]` before
navigation and after Reset.
- Gallery source reverted byte-for-byte to the candidate source and
rebuilt with the same local toolchain: complete fixture returns to **9
passed / 2 failed**; isolated strengthened Shadow again fails **Y244 ->
Y139**. The corresponding trigger-removed control passes **9/9**.
- Fix restored and pushed as `ca6f36f39093dcc72c723c0cb01bfe7ce69f5952`:
rebuilt after push, then **three complete fixture runs pass 11/11
each**. **Two additional isolated runs of each visual test pass**. No
first-attempt failure was converted into a pass by rerunning it.

**Commands and results:**

- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822 --include
src/Controls/tests/TestCases.HostApp/FeatureMatrix/HybridWebView/HybridWebViewControlPage.xaml.cs
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/HybridWebViewFeatureTests.cs
--verbosity quiet` — passed.
- `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform android
-DeviceUdid emulator-5582 -TestFilter
'FullyQualifiedName~HybridWebViewFeatureTests'` — restored fix and
post-push rebuild passed **11/11**; the source-reverted control failed
**2/11** as expected.
- The isolated and repeat executions use the freshly built test assembly
through `dotnet vstest`, with the same assigned emulator and independent
TRX/log directories; existing screenshot strictness is unchanged.

**Limits:** local source builds use the available .NET SDK **11.0.100**,
runtime **11.0.0**, and GA Android workload, not the candidate-pinned
**11.0.101-servicing.26559.106** toolchain. The emulator has WebView
**91.0.4472.114**, not CI's WebView83. This is native causal validation,
not pinned-CI or cross-platform certification. iOS, Windows, MacCatalyst
and Android API36 were not run; their goldens are unchanged. Only
automatic CI is requested by publishing this PR; no extra CI waves were
queued.

Upstream ownership was refreshed before publication: dotnet#40195/dotnet#40197
repair title readiness, dotnet#39795 repairs MIME handling, and dotnet#39918 owns
broader test infrastructure. None implements this gallery reset
correction.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

Addresses the remaining Android HybridWebView Shadow and FlowDirection
failures investigated from dotnet#40116, following dotnet#40197. No product issue is
closed by this gallery-only correction.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — ca6f36f3 Deployed Nov 13, 2026 by kubaflo via conclusion #2958
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants