Skip to content

✨ feat(fuzz): expand pinned HTML generation - #1192

Merged
gaborbernat merged 4 commits into
tox-dev:mainfrom
gaborbernat:feat/html-grammar-1018
Oct 7, 2026
Merged

gaborbernat merged 4 commits into
tox-dev:mainfrom
gaborbernat:feat/html-grammar-1018

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

The shared HTML grammar covered forty Domato tag types and local attribute/value lists. This extends #1018 with the pinned Domato tag table and attribute/value rules.

Complete element productions preserve DOM node costs while the shared compiler reserves sibling budgets and binds identifier references. Document profiles retain frameset/frame and root tags; plaintext ends the input. Formatting, near-miss end tags and SVG integration points contribute hostile shapes. The finite sweep forces the declared alternatives and exports materialized input bytes.

This builds on #1189. Common helper alternatives use shortest productive derivations. Other domain adapters and dedicated generation CI/corpus integration remain in #1018.

Reserve minimum sibling costs so recursive generation can complete within
its parsed-node budget. Bind fragment targets and export materialized
production sweeps for tox-dev#1018.
The shared grammar covered forty Domato tag types and local attribute/value
lists. Materialize the pinned tag, attribute and value alternatives under
its existing budget and binding contract.

Document profiles preserve frameset/frame and root tags; plaintext ends the
input. Include formatting, near-miss and SVG integration shapes.

Refs tox-dev#1018. Builds on tox-dev#1189.
@gaborbernat gaborbernat added the enhancement New feature or request label Oct 7, 2026
@gaborbernat
gaborbernat marked this pull request as ready for review October 7, 2026 00:37
The HTML table adapter merged beside the complete grammar import.
Retain both imports while preserving every oracle and existing callback.

Merge verified main 6cbeeb7; refs tox-dev#1192 and tox-dev#1018.
@codspeed

codspeed Bot commented Oct 7, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 19.97%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 1 regressed benchmark
✅ 580 untouched benchmarks
⏩ 32 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ test_feature[shadow-slot-comments] 110.4 µs 138 µs -19.97%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing gaborbernat:feat/html-grammar-1018 (d57fded) with main (6cbeeb7)

Open in CodSpeed

Footnotes

  1. 32 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@gaborbernat
gaborbernat merged commit adb73dc into tox-dev:main Oct 7, 2026
54 of 55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant