Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conformance/layout/position-requires-fixed/case.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"source": "source.medui",
"expected": {
"valid": false,
"diagnostics": [{ "code": "MEDUI-E051", "line": 7, "column": 9 }]
"diagnostics": [{ "code": "MEDUI-E054", "line": 7, "column": 9 }]
}
}
7 changes: 5 additions & 2 deletions spec/component-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,11 @@ one would require the case schema to carry charset-package inputs, so that a cas
sets exist before asserting that one does not.

Node IDs are unique after synthetic row-background nodes are included. `position` requires fixed
dimensions and removes the node from flow. Positioned nodes must remain in their containing box and
must not overlap other non-background nodes. Images render at intrinsic dimensions. Text keys must
dimensions and removes the node from flow; a positioned node whose `width` or `height` is `Fill`
reports `MEDUI-E054`, which is distinct from layout overflow (`MEDUI-E051`) because nothing has
overflowed — the node's geometry simply cannot be resolved. Positioned nodes must remain in their
containing box and must not overlap other non-background nodes. Images render at intrinsic
dimensions. Text keys must
exist for every approved locale, and every static or bounded-dynamic text value must fit its box in
the worst approved case. Unknown theme tokens (`MEDUI-E030`), text keys (`MEDUI-E031`), CV
checks (`MEDUI-E071`), and members outside a closed set (`MEDUI-E034`) fail compilation. Unknown
Expand Down
1 change: 1 addition & 0 deletions spec/diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ fails at every precision.
| `MEDUI-E051` | layout | layout overflow |
| `MEDUI-E052` | layout | surface exceeded |
| `MEDUI-E053` | semantics | dynamic text escapes its charset |
| `MEDUI-E054` | layout | positioned node without fixed dimensions |
| `MEDUI-E070` | safety | safety-critical node has no requirement |
| `MEDUI-E071` | safety | unknown CV check |
Loading