Repository navigation
Give "position requires fixed dimensions" its own code (MEDUI-E054) - #20
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The new diagnostic code is consistently registered and referenced across the spec and the conformance case, with pinned positions remaining coherent.
Pull request overview
Registers a dedicated diagnostic code for the “position requires fixed dimensions” rule to prevent conflating it with true layout overflow, aligning the spec registry, the normative rule text, and the conformance case.
Changes:
- Add
MEDUI-E054to the diagnostic registry as “positioned node without fixed dimensions”. - Update the component model rule text to specify
MEDUI-E054for positioned nodes withFillwidth/height and distinguish it fromMEDUI-E051. - Repoint the
position-requires-fixedconformance case to assertMEDUI-E054instead ofMEDUI-E051.
File summaries
| File | Description |
|---|---|
| spec/diagnostics.md | Registers new diagnostic code MEDUI-E054 and its meaning in the canonical table. |
| spec/component-model.md | States the normative rule with MEDUI-E054 and clarifies the distinction from MEDUI-E051. |
| conformance/layout/position-requires-fixed/case.json | Updates the expected diagnostic code for the existing conformance case to MEDUI-E054. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
AM-L
force-pushed
the
spec/e054-position-fixed-dims
branch
from
September 7, 2026 07:21
8d0d62c to
e35782c
Compare
ambroise-leclerc
force-pushed
the
spec/e054-position-fixed-dims
branch
from
September 7, 2026 07:27
e35782c to
6f056b4
Compare
AM-L
force-pushed
the
spec/e054-position-fixed-dims
branch
from
September 7, 2026 07:32
6f056b4 to
a68962d
Compare
conformance/layout/position-requires-fixed asserted MEDUI-E051, registered as layout overflow. Its source is a Fill-width Label under position: - nothing overflows; the node's dimensions are not fixed. MEDUI-DEC-005 fixes a code's meaning, so an implementation reading the registry and one reading the case disagreed on what E051 means. Register MEDUI-E054 (layout) for a positioned node without fixed dimensions and repoint the case. spec/component-model.md now states the rule with its code and distinguishes it from E051.
AM-L
force-pushed
the
spec/e054-position-fixed-dims
branch
from
September 7, 2026 07:36
a68962d to
1236216
Compare
AM-L
approved these changes
Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2.
conformance/layout/position-requires-fixed/case.jsonassertedMEDUI-E051, registered as layout overflow. Its source is aFill-widthLabelunderposition:— nothing overflows; the node's dimensions are not fixed.MEDUI-DEC-005fixes a code's meaning, so an implementation reading the registry and one reading the case disagreed on whatE051means.Registers
MEDUI-E054(layout) — positioned node without fixed dimensions — and repoints the case.spec/component-model.mdnow states the rule with its code and distinguishes it fromE051.This adds a conformance outcome → part of the 0.2.0 candidate line (#24).
Validation:
python3 tools/validate.py→ OK (18 cases, 25 diagnostics). Column verified against the fixture.Stacked on #19.