arXiv:2611.09769cs.SENov 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2611.09769

AnimWeb-Bench: Benchmarking Animated Webpage Code Generation from Videos

Zhongyi Zhang, Jingyu Xiao, Shuqing Li, Michael R. Lyu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Zhongyi Zhang

The Chinese University of Hong Kong

Hong Kong, China

zyzhang01@link.cuhk.edu.hk

Shuqing Li

The Chinese University of Hong Kong

Hong Kong, China

sqli21@cse.cuhk.edu.hk

Jingyu Xiao*

The Chinese University of Hong Kong

Hong Kong, China

jyxiao@link.cuhk.edu.hk

Michael R. Lyu

The Chinese University of Hong Kong

Hong Kong, China

lyu@cse.cuhk.edu.hk

Abstract

Animation is pervasive on the Web, the CSS animation property alone appears on over three-quarters of webpages. Yet existing webpage code generation benchmarks target static screenshots, user-triggered interactions, or isolated motion graphics, leaving the ability of multimodal large language models (MLLMs) and coding agents to reconstruct complete animated webpages largely unexplored. To fill this gap, we introduce AnimWeb-Bench, the first benchmark for animated webpage code generation from videos. It comprises 124 real-world webpages spanning 7 application domains and 33 animation types, with 91.9% of pages combining multiple types, each paired with a reference video and the static assets of the original webpage. We further propose a human-aligned, two-dimensional evaluation protocol: Static Appearance Fidelity measures structure, text, color, and visual similarity on aligned keyframes, while Animation Fidelity tracks UI components across frames and compares their position, size, velocity, and appearance with those in the reference video. Evaluating 14 MLLMs and three coding agents reveals: (1) reproducing webpage animations is substantially more difficult than reproducing static appearance; (2) explicit frame inspection and render feedback improve the reconstruction quality of coding agents; and (3) rapid, continuous changes are harder to reproduce than discrete state transitions. Our code and dataset are available at starry1001.github.io/AnimWeb-Benchwebsite.

CCS Concepts

• Software and its engineering → Automatic programming; • Computing methodologies → Artificial intelligence.

*Jingyu Xiao is the corresponding author.

References (18)