Skip to content

fix(core/cddl): use conforming prose dfn attributes#5305

Open
aqilaziz wants to merge 1 commit into
speced:mainfrom
aqilaziz:fix/5303-cddl-conformant-prose-dfns
Open

fix(core/cddl): use conforming prose dfn attributes#5305
aqilaziz wants to merge 1 commit into
speced:mainfrom
aqilaziz:fix/5303-cddl-conformant-prose-dfns

Conversation

@aqilaziz
Copy link
Copy Markdown

@aqilaziz aqilaziz commented May 15, 2026

Closes #5303.

Summary

  • Use conforming data-dfn-type / data-dfn-for prose definitions for CDDL prose-level dfns.
  • Map generated CDDL ids to the actual prose dfn ids so CDDL blocks link to existing prose definitions without creating duplicate block dfns.
  • Update CDDL specs and the W3C build artifact.

Tests

  • pnpm exec prettier --check src/core/cddl.js tests/spec/core/cddl-spec.js
  • pnpm exec eslint src/core/cddl.js tests/spec/core/cddl-spec.js
  • pnpm build:w3c
  • $env:BROWSERS='ChromeHeadless'; pnpm exec karma start ./tests/spec/karma.conf.cjs --single-run --grep "Core - CDDL"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: core/cddl recognises non-conformant HTML as authoring shortcut

1 participant