Files
rust_browser/tests/goldens/fixtures/176-object-fallback-chain.html
Zachary D. Rowitsch f24096f254 Implement <object> element data loading with fallback content support
Fetch <object data="..."> resources using the same pipeline as <img src="...">.
When the resource loads successfully, render it as a replaced element and suppress
children (fallback content). When loading fails, children render normally as fallback.
This enables the Acid2 3-level <object> fallback chain pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 05:16:44 -05:00

12 lines
350 B
HTML

<!DOCTYPE html>
<html>
<head><title>Object fallback chain</title></head>
<body>
<object data="nonexistent-outer.png">
<object data="nonexistent-middle.png">
<object data="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==">ERROR</object>
</object>
</object>
</body>
</html>