WebWeaver: Style-Aware Webpage Generation with Style Contracts

Runchen Xu, Mengxiao Zhang, Yikai Gu, Jiamou Liu


Abstract
We study style-aware prompt-to-webpage generation: producing executable webpages that preserve content, functionality, and abstract aesthetic intent. We identify the design-intent bottleneck and introduce three components to address it: Web4Style, a brief-based diagnostic benchmark; WebWeaver, a shared-state framework that constructs and propagates an explicit style contract; and WebJudge, a structured multimodal evaluator for content, function, and visual aesthetics. Experiments across three backbone models show that WebWeaver improves over direct generation and representative web/code-generation agents in both automatic and human evaluation. These results highlight style contracts as a missing intermediate layer for reliable prompt-to-webpage generation.
Anthology ID:
2026.findings-emnlp.582
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
12283–12319
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.582/
DOI:
Bibkey:
Cite (ACL):
Runchen Xu, Mengxiao Zhang, Yikai Gu, and Jiamou Liu. 2026. WebWeaver: Style-Aware Webpage Generation with Style Contracts. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 12283–12319, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
WebWeaver: Style-Aware Webpage Generation with Style Contracts (Xu et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.582.pdf