Datasets:

Modalities:
Text
Formats:
parquet
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
svg
stringclasses
4 values
html
stringclasses
4 values
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="393" height="852" viewBox="0 0 393 852"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context="true"/></g><g data-tag="body" id="body1" data-z-index="auto" data-stacking-context="true" role="document" aria-owns="h11 p1 style1"><g data-stacking-layer="rootBackgroundAndBorders"><rect width="377" height="828" x="8" y="8" fill="rgb(0, 0, 0)"/></g><g data-tag="h1" id="h11" data-z-index="auto" data-stacking-context="true" role="heading" aria-level="1"><text color="rgb(255, 255, 255)" dominant-baseline="text-after-edge" font-family="Times" font-size="32px" font-size-adjust="none" font-stretch="100%" font-style="normal" font-variant="normal" font-weight="700" direction="ltr" letter-spacing="normal" text-decoration="none solid rgb(255, 255, 255)" text-anchor="start" text-rendering="auto" unicode-bidi="isolate" word-spacing="0px" writing-mode="horizontal-tb" user-select="auto" fill="rgb(255, 255, 255)"><tspan xml:space="preserve" x="8" y="45" textLength="183.4375" lengthAdjust="spacingAndGlyphs">Lorem ipsum</tspan></text></g><g data-tag="p" id="p1" data-z-index="auto" data-stacking-context="true"><text color="rgb(255, 255, 255)" dominant-baseline="text-after-edge" font-family="Times" font-size="16px" font-size-adjust="none" font-stretch="100%" font-style="normal" font-variant="normal" font-weight="400" direction="ltr" letter-spacing="normal" text-decoration="none solid rgb(255, 255, 255)" text-anchor="start" text-rendering="auto" unicode-bidi="isolate" word-spacing="0px" writing-mode="horizontal-tb" user-select="auto" fill="rgb(255, 255, 255)"><tspan xml:space="preserve" x="8" y="84.9375" textLength="356.8046875" lengthAdjust="spacingAndGlyphs">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</tspan><tspan xml:space="preserve" x="8" y="103.4375" textLength="331.53125" lengthAdjust="spacingAndGlyphs">Vestibulum varius vestibulum est, quis mattis lacus.</tspan><tspan xml:space="preserve" x="8" y="121.9375" textLength="367.484375" lengthAdjust="spacingAndGlyphs">Mauris facilisis lorem nec tortor finibus, sit amet fringilla</tspan><tspan xml:space="preserve" x="8" y="140.4375" textLength="311.953125" lengthAdjust="spacingAndGlyphs">purus venenatis. Duis nisl eros, porttitor fringilla</tspan><tspan xml:space="preserve" x="8" y="158.9375" textLength="347.4921875" lengthAdjust="spacingAndGlyphs">elementum in, porta ut metus. Suspendisse fermentum</tspan><tspan xml:space="preserve" x="8" y="177.4375" textLength="357.265625" lengthAdjust="spacingAndGlyphs">bibendum mauris nec cursus. Duis scelerisque metus sit</tspan><tspan xml:space="preserve" x="8" y="195.9375" textLength="364.3359375" lengthAdjust="spacingAndGlyphs">amet semper bibendum. Orci varius natoque penatibus et</tspan><tspan xml:space="preserve" x="8" y="214.4375" textLength="341.2734375" lengthAdjust="spacingAndGlyphs">magnis dis parturient montes, nascetur ridiculus mus.</tspan><tspan xml:space="preserve" x="8" y="232.9375" textLength="363.90625" lengthAdjust="spacingAndGlyphs">Nulla et molestie nunc, eget pretium metus. Pellentesque</tspan><tspan xml:space="preserve" x="8" y="251.4375" textLength="367.0859375" lengthAdjust="spacingAndGlyphs">metus tellus, aliquet ut erat id, sagittis dignissim risus. Ut</tspan><tspan xml:space="preserve" x="8" y="269.9375" textLength="333.734375" lengthAdjust="spacingAndGlyphs">aliquam lacus id nisi lobortis ullamcorper. Phasellus</tspan><tspan xml:space="preserve" x="8" y="288.4375" textLength="252.3828125" lengthAdjust="spacingAndGlyphs">commodo turpis at leo efficitur congue.</tspan></text></g><g data-tag="style" id="style1" data-z-index="auto" data-stacking-context="true"/></g></g></svg>
<body><h1>Lorem ipsum</h1><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum varius vestibulum est, quis mattis lacus. Mauris facilisis lorem nec tortor finibus, sit amet fringilla purus venenatis. Duis nisl eros, porttitor fringilla elementum in, porta ut metus. Suspendisse fermentum bibendum mauris nec cursus. Duis scelerisque metus sit amet semper bibendum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla et molestie nunc, eget pretium metus. Pellentesque metus tellus, aliquet ut erat id, sagittis dignissim risus. Ut aliquam lacus id nisi lobortis ullamcorper. Phasellus commodo turpis at leo efficitur congue.</p></body> <style> body { background-color: black; color: white; } </style>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="393" height="852" viewBox="0 0 393 852"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context="true"/></g><g data-tag="body" id="body1" data-z-index="auto" data-stacking-context="true" role="document" aria-owns="style1"><g data-stacking-layer="rootBackgroundAndBorders"><rect width="377" height="836" x="8" y="8" fill="rgb(255, 0, 0)"/></g><g data-tag="style" id="style1" data-z-index="auto" data-stacking-context="true"/></g></g></svg>
<body></body> <style> body { background-color: red; } </style>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="393" height="852" viewBox="0 0 393 852"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context="true"/></g><g data-tag="body" id="body1" data-z-index="auto" data-stacking-context="true" role="document" aria-owns="container1 style1"><g data-stacking-layer="rootBackgroundAndBorders"><rect width="393" height="852" x="0" y="0" fill="rgb(240, 240, 240)"/></g><g data-tag="div" id="container1" class="container" data-z-index="auto" data-stacking-context="true" aria-owns="top-image1 content1"><g data-stacking-layer="rootBackgroundAndBorders"><rect width="393" height="698.828125" x="0" y="76.5859375" fill="rgb(255, 255, 255)"/></g><g data-tag="img" id="top-image1" class="top-image" data-z-index="auto" data-stacking-context="true" role="img" aria-label="Cat" mask="url(#mask-for-top-image11)"><g data-stacking-layer="rootBackgroundAndBorders"/><g data-stacking-layer="childStackingContextsWithNegativeStackLevels"/><g data-stacking-layer="inFlowNonInlineNonPositionedDescendants"/><g data-stacking-layer="nonPositionedFloats"/><g data-stacking-layer="inFlowInlineLevelNonPositionedDescendants"/><g data-stacking-layer="childStackingContextsWithStackLevelZeroAndPositionedDescendantsWithStackLevelZero"/><g data-stacking-layer="childStackingContextsWithPositiveStackLevels"/><mask id="mask-for-top-image11"><rect width="353" height="235.328125" x="20" y="96.5859375" fill="#ffffff"/></mask><image id="top-image1-image" xlink:href="/db5da240.jpeg" x="20" y="96.5859375" width="353" height="235.328125" aria-label="Cat"/></g><g data-tag="div" id="content1" class="content" data-z-index="auto" data-stacking-context="true" aria-owns="flex-columns1"><g data-tag="div" id="flex-columns1" class="flex-columns" data-z-index="auto" data-stacking-context="true" aria-owns="column1 column2"><g data-tag="div" id="column1" class="column" data-z-index="auto" data-stacking-context="true" aria-owns="p1"><g data-stacking-layer="rootBackgroundAndBorders"><rect width="166.5" height="403.5" x="20" y="351.9140625" fill="rgb(232, 232, 232)" rx="5" ry="5"/></g><g data-tag="p" id="p1" data-z-index="auto" data-stacking-context="true"><text color="rgb(0, 0, 0)" dominant-baseline="text-after-edge" font-family="Arial, sans-serif" font-size="16px" font-size-adjust="none" font-stretch="100%" font-style="normal" font-variant="normal" font-weight="400" direction="ltr" letter-spacing="normal" text-decoration="none solid rgb(0, 0, 0)" text-anchor="start" text-rendering="auto" unicode-bidi="isolate" word-spacing="0px" writing-mode="horizontal-tb" user-select="auto" fill="rgb(0, 0, 0)"><tspan xml:space="preserve" x="37" y="395.9140625" textLength="132.5" lengthAdjust="spacingAndGlyphs">Lorem ipsum dolor</tspan><tspan xml:space="preserve" x="73.015625" y="414.4140625" textLength="60.4609375" lengthAdjust="spacingAndGlyphs">sit amet,</tspan><tspan xml:space="preserve" x="61.890625" y="432.9140625" textLength="82.7109375" lengthAdjust="spacingAndGlyphs">consectetur</tspan><tspan xml:space="preserve" x="53" y="451.4140625" textLength="100.5" lengthAdjust="spacingAndGlyphs">adipiscing elit.</tspan><tspan xml:space="preserve" x="40.5546875" y="469.9140625" textLength="125.390625" lengthAdjust="spacingAndGlyphs">Vestibulum varius</tspan><tspan xml:space="preserve" x="32.9921875" y="488.4140625" textLength="140.5078125" lengthAdjust="spacingAndGlyphs">vestibulum est, quis</tspan><tspan xml:space="preserve" x="32.5625" y="506.9140625" textLength="141.3671875" lengthAdjust="spacingAndGlyphs">mattis lacus. Mauris</tspan><tspan xml:space="preserve" x="40.1171875" y="525.4140625" textLength="126.2578125" lengthAdjust="spacingAndGlyphs">facilisis lorem nec</tspan><tspan xml:space="preserve" x="46.78125" y="543.9140625" textLength="112.9296875" lengthAdjust="spacingAndGlyphs">tortor finibus, sit</tspan><tspan xml:space="preserve" x="35.6640625" y="562.4140625" textLength="135.171875" lengthAdjust="spacingAndGlyphs">amet fringilla purus</tspan><tspan xml:space="preserve" x="34.328125" y="580.9140625" textLength="137.84375" lengthAdjust="spacingAndGlyphs">venenatis. Duis nisl</tspan><tspan xml:space="preserve" x="56.1171875" y="599.4140625" textLength="94.2578125" lengthAdjust="spacingAndGlyphs">eros, porttitor</tspan><tspan xml:space="preserve" x="36.109375" y="617.9140625" textLength="134.28125" lengthAdjust="spacingAndGlyphs">fringilla elementum</tspan><tspan xml:space="preserve" x="39.21875" y="636.4140625" textLength="128.0625" lengthAdjust="spacingAndGlyphs">in, porta ut metus.</tspan><tspan xml:space="preserve" x="57.4375" y="654.9140625" textLength="91.6171875" lengthAdjust="spacingAndGlyphs">Suspendisse</tspan><tspan xml:space="preserve" x="65.015625" y="673.4140625" textLength="76.46875" lengthAdjust="spacingAndGlyphs">fermentum</tspan><tspan xml:space="preserve" x="41.8828125" y="691.9140625" textLength="122.7265625" lengthAdjust="spacingAndGlyphs">bibendum mauris</tspan><tspan xml:space="preserve" x="62.34375" y="710.4140625" textLength="81.8125" lengthAdjust="spacingAndGlyphs">nec cursus.</tspan></text></g></g><g data-tag="div" id="column2" class="column" data-z-index="auto" data-stacking-context="true" aria-owns="p2"><g data-stacking-layer="rootBackgroundAndBorders"><rect width="166.5" height="403.5" x="206.5" y="351.9140625" fill="rgb(232, 232, 232)" rx="5" ry="5"/></g><g data-tag="p" id="p2" data-z-index="auto" data-stacking-context="true"><text color="rgb(0, 0, 0)" dominant-baseline="text-after-edge" font-family="Arial, sans-serif" font-size="16px" font-size-adjust="none" font-stretch="100%" font-style="normal" font-variant="normal" font-weight="400" direction="ltr" letter-spacing="normal" text-decoration="none solid rgb(0, 0, 0)" text-anchor="start" text-rendering="auto" unicode-bidi="isolate" word-spacing="0px" writing-mode="horizontal-tb" user-select="auto" fill="rgb(0, 0, 0)"><tspan xml:space="preserve" x="231.0546875" y="395.9140625" textLength="117.3828125" lengthAdjust="spacingAndGlyphs">Duis scelerisque</tspan><tspan xml:space="preserve" x="237.734375" y="414.4140625" textLength="104.03125" lengthAdjust="spacingAndGlyphs">metus sit amet</tspan><tspan xml:space="preserve" x="223.4921875" y="432.9140625" textLength="132.515625" lengthAdjust="spacingAndGlyphs">semper bibendum.</tspan><tspan xml:space="preserve" x="220.3828125" y="451.4140625" textLength="138.734375" lengthAdjust="spacingAndGlyphs">Orci varius natoque</tspan><tspan xml:space="preserve" x="218.1484375" y="469.9140625" textLength="143.203125" lengthAdjust="spacingAndGlyphs">penatibus et magnis</tspan><tspan xml:space="preserve" x="243.5" y="488.4140625" textLength="92.4921875" lengthAdjust="spacingAndGlyphs">dis parturient</tspan><tspan xml:space="preserve" x="228.3828125" y="506.9140625" textLength="122.7265625" lengthAdjust="spacingAndGlyphs">montes, nascetur</tspan><tspan xml:space="preserve" x="220.390625" y="525.4140625" textLength="138.7109375" lengthAdjust="spacingAndGlyphs">ridiculus mus. Nulla</tspan><tspan xml:space="preserve" x="229.2734375" y="543.9140625" textLength="120.953125" lengthAdjust="spacingAndGlyphs">et molestie nunc,</tspan><tspan xml:space="preserve" x="219.046875" y="562.4140625" textLength="141.3984375" lengthAdjust="spacingAndGlyphs">eget pretium metus.</tspan><tspan xml:space="preserve" x="219.484375" y="580.9140625" textLength="140.53125" lengthAdjust="spacingAndGlyphs">Pellentesque metus</tspan><tspan xml:space="preserve" x="218.1484375" y="599.4140625" textLength="143.1953125" lengthAdjust="spacingAndGlyphs">tellus, aliquet ut erat</tspan><tspan xml:space="preserve" x="218.609375" y="617.9140625" textLength="142.2734375" lengthAdjust="spacingAndGlyphs">id, sagittis dignissim</tspan><tspan xml:space="preserve" x="230.171875" y="636.4140625" textLength="119.1484375" lengthAdjust="spacingAndGlyphs">risus. Ut aliquam</tspan><tspan xml:space="preserve" x="220.3828125" y="654.9140625" textLength="138.7265625" lengthAdjust="spacingAndGlyphs">lacus id nisi lobortis</tspan><tspan xml:space="preserve" x="246.171875" y="673.4140625" textLength="87.1484375" lengthAdjust="spacingAndGlyphs">ullamcorper.</tspan><tspan xml:space="preserve" x="217.7109375" y="691.9140625" textLength="144.0703125" lengthAdjust="spacingAndGlyphs">Phasellus commodo</tspan><tspan xml:space="preserve" x="220.53125" y="710.4140625" textLength="138.4375" lengthAdjust="spacingAndGlyphs">turpis at leo efficitur</tspan><tspan xml:space="preserve" x="261.28125" y="728.9140625" textLength="56.9375" lengthAdjust="spacingAndGlyphs">congue.</tspan></text></g></g></g></g></g><g data-tag="style" id="style1" data-z-index="auto" data-stacking-context="true"/></g></g></svg>
<body><div class="container"><img alt="Cat" class="top-image" src="/db5da240.jpeg"><div class="content"><div class="flex-columns"><div class="column"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum varius vestibulum est, quis mattis lacus. Mauris facilisis lorem nec tortor finibus, sit amet fringilla purus venenatis. Duis nisl eros, porttitor fringilla elementum in, porta ut metus. Suspendisse fermentum bibendum mauris nec cursus.</p></div><div class="column"><p>Duis scelerisque metus sit amet semper bibendum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla et molestie nunc, eget pretium metus. Pellentesque metus tellus, aliquet ut erat id, sagittis dignissim risus. Ut aliquam lacus id nisi lobortis ullamcorper. Phasellus commodo turpis at leo efficitur congue.</p></div></div></div></div></body> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: #f0f0f0; } .container { max-width: 800px; width: 100%; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); background-color: #fff; text-align: center; } .top-image { width: 100%; height: auto; margin-bottom: 20px; } .content { display: flex; flex-direction: column; align-items: center; } .flex-columns { display: flex; justify-content: space-between; width: 100%; gap: 20px; } .column { flex: 1; padding: 10px; box-sizing: border-box; background-color: #e8e8e8; border-radius: 5px; } </style>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="393" height="852" viewBox="0 0 393 852"><g id="html1"><g data-tag="head" id="head1" data-z-index="auto" data-stacking-context="true" aria-owns="script1"><g data-tag="script" id="script1" data-z-index="auto" data-stacking-context="true"/></g><g data-tag="body" id="body1" data-z-index="auto" data-stacking-context="true" role="document" aria-owns="box1 box2 box3 style1"><g data-tag="div" id="box1" class="box red" data-z-index="auto" data-stacking-context="true"><g data-stacking-layer="rootBackgroundAndBorders"><rect width="393" height="284" x="0" y="0" fill="rgb(255, 0, 0)"/></g></g><g data-tag="div" id="box2" class="box green" data-z-index="auto" data-stacking-context="true"><g data-stacking-layer="rootBackgroundAndBorders"><rect width="393" height="284" x="0" y="284" fill="rgb(0, 128, 0)"/></g></g><g data-tag="div" id="box3" class="box blue" data-z-index="auto" data-stacking-context="true"><g data-stacking-layer="rootBackgroundAndBorders"><rect width="393" height="284" x="0" y="568" fill="rgb(0, 0, 255)"/></g></g><g data-tag="style" id="style1" data-z-index="auto" data-stacking-context="true"/></g></g></svg>
<body><div class="box red"></div><div class="box green"></div><div class="box blue"></div></body> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { height: 100%; font-family: Arial, sans-serif; } body { display: flex; flex-direction: column; height: 100vh; } .box { flex: 1; width: 100%; } .red { background-color: red; } .green { background-color: green; } .blue { background-color: blue; } </style>

Reverse Browser Small Validation Dataset

This dataset contains a very small number of paired HTML/CSS markup and vector-based SVG representations simple websites. Rendered at mobile resolution. It created by custom browser rendering pipeline. The dataset is designed for quick evaluation of models during training that translate visual web designs to markup.

This dataset is not meant to train capable models, but to be used create proof-of-concept and run performance tests when evaluating model architectures.

For larger datasets created from public web pages one of the following:

Contents

Each entry in the dataset includes:

  • HTML: A cleaned and compressed version of the page’s markup, stripped of <script>, <iframe>, <video>, and other non-visual elements, only retaining <body> outerHTML. CSS has been inlined. Images are not saved.
    • html: The preprocessed HTML/CSS source
  • SVG: SVG representation of the page for the following viewport sizes: 393×852

https://arxiv.org/abs/2509.05394

Downloads last month
7

Paper for tcz/rb-small-validation