# UnifiedWriter Visual Regression Checklist

Target: UnifiedWriter dev-5.67.0 / policy v1.10.

## CSS / Manifest loading

- `PACKAGE_MANIFEST.json` contains `styles.required`, `styles.themes`, and `styleScope`.
- Demo / Host loads required CSS before `createControl()` / `createEditorControl()`.
- Network panel shows `themes/base/unified_writer.css`, not `themes/base/ih-shell.css`.
- No old `ih-shell.css` request is issued.

## Root scoping

- Runtime root has `.uwriter.ih-shell`.
- Package selectors are scoped by `.uwriter`.
- Host topbar, Host tabs, and Host page styles are not changed by UnifiedWriter CSS.

## Layout

- Workbench opens full height in `demo/basic.html`.
- Parameters demo can remount without losing CSS.
- OneEditor integration demo mounts body-only EditorControl after CSS load.
- Toolbar, menubar, left pane, right pane, editor page, and status bar are visible and aligned.

## Programable file API

- `control.openFile(payload)` opens `.uwpsx`, `.docx`, and `.docm` payloads when required libraries are present.
- `control.saveFile(payload)` returns `HostSavePayload/v1` with `payload.data`.
- `control.saveAsFile(payload)` accepts writable formats and rejects export-only formats.
- `control.exportFile({format:"pdf"})` returns a PDF Blob when jsPDF/html2canvas are loaded.
- `control.exportFile({format:"html"})` returns an HTML Blob and does not change dirty/file context.
