Release v1.62.0-beta.9 candidate

Issue: #108
User-Visible: yes
This commit is contained in:
Matysh
2026-08-12 21:49:29 +03:00
parent 9bb5f7c5a8
commit 8e2973fa7a
40 changed files with 779 additions and 393 deletions
+19
View File
@@ -0,0 +1,19 @@
import assert from 'node:assert/strict';
import test from 'node:test';
import {
helpHasContent,
helpScrollShouldDismiss,
} from '../test-build/help-behavior.js';
test('help is absent unless both visible copy and an accessible name exist', () => {
assert.equal(helpHasContent('Explanation', 'More information'), true);
assert.equal(helpHasContent(' ', 'More information'), false);
assert.equal(helpHasContent('Explanation', ''), false);
assert.equal(helpHasContent(null, 'More information'), false);
});
test('only scrolling the owning dialog outside the floating surface dismisses help', () => {
assert.equal(helpScrollShouldDismiss(true, true), false);
assert.equal(helpScrollShouldDismiss(false, true), true);
assert.equal(helpScrollShouldDismiss(false, false), false);
});