diff --git a/STANDARDS.md b/STANDARDS.md index ea8cd06..61c15db 100644 --- a/STANDARDS.md +++ b/STANDARDS.md @@ -27,6 +27,8 @@ The architecture pages that apply, in the architecture repository: - `architecture/standards/web-elemental/principles/dialog-focus.md`: `sl-drawer` opens on its heading unless it names a slotted control to open on, and `sl-settings` focuses its checked radio unless its dialog marks something `autofocus`. +- `architecture/standards/web-elemental/principles/scroll-regions.md`: a list scrolls inside the + height its host gives it, its summary, status line, and controls in view. ## Design @@ -63,8 +65,9 @@ The architecture pages that apply, in the architecture repository: ## Code - A module header documents the public contract, what the module provides and promises, with no - reasoning; each export carries a one-line doc comment. A sheet's CSS custom properties, classes, - and layers are its exports, and each carries its comment. + reasoning; each export carries a one-line doc comment. A shared sheet's CSS custom properties, + classes, and layers are its exports, and each carries its comment; a component's shadow-root + sheet exports only the custom properties its header names, and its classes are internal. - Sources use `.ts` relative specifiers, which tsc rewrites. - The browser tier tests `dist/`, and no server transforms what it serves. - Tests are TypeScript run under Node's type stripping, erasable syntax only, type-checked by