Add WASM feature tests: font enum, text decor, bitmap mask, regions
New test apps and E2E tests: - fontenum: Font enumeration via Local Font Access API (180 fonts) - textdecor: Text underline/strikethrough decorations - bitmask: wxMask bitmap transparency with color keys - regions: Non-rectangular region clipping (union, subtract, complex shapes) Updates: - playwright.config.ts: Add local-fonts permission - WHATWORKS.md: Document implemented features, update test counts - Makefile.wasm: Add build targets for new test apps 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
7448d3cd74
commit
756feb35da
16 changed files with 984 additions and 19 deletions
17
tests/e2e/regions.spec.ts
Normal file
17
tests/e2e/regions.spec.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Region Clipping Tests - Non-rectangular clipping regions
|
||||
import { test, expect, tryLoadApp } from './utils/fixtures';
|
||||
|
||||
test.describe('Region Clipping Tests', () => {
|
||||
|
||||
test('Region clipping renders correctly', async ({ page, testLogger }) => {
|
||||
await page.goto('/standalone/regions/regions_test.html');
|
||||
const loaded = await tryLoadApp(page);
|
||||
|
||||
await page.waitForTimeout(500);
|
||||
await page.screenshot({ path: 'test-results/regions.png', fullPage: true });
|
||||
|
||||
expect(loaded, 'Region clipping app should load').toBe(true);
|
||||
expect(testLogger.errors.filter(e => !e.includes('favicon'))).toHaveLength(0);
|
||||
});
|
||||
|
||||
});
|
||||
Loading…
Reference in a new issue