Files
rust_browser/tests/goldens/expected/174-object-fallback.layout.txt
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

26 lines
881 B
Plaintext

LayoutBox node=#2 tag=html box=block
content: (0, 0, 800, 35.2)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
LayoutBox node=#8 tag=body box=block
content: (8, 8, 784, 19.2)
padding: 0 0 0 0
border: 0 0 0 0
margin: 8 8 8 8
LayoutBox node=#10 tag=object box=block
content: (8, 8, 784, 19.2)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
inline_context: 1 lines, height=19.2, max_width=68.85169
line[0]: rect=(8, 8, 68.85169, 19.2) fragments=2
frag[0]: rect=(8, 9.6, 44.475773, 16) text="Fallback" start=false end=false
frag[1]: rect=(55.530106, 9.6, 21.321585, 16) text="text" start=false end=false
LayoutBox node=#11 tag=anonymous box=anon
content: (0, 0, 68.85169, 16)
padding: 0 0 0 0
border: 0 0 0 0
margin: 0 0 0 0
text: "Fallback text"