Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-transform-translatez.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Fieldset and transform: translateZ(0)</title>
<link rel=match href=fieldset-transform-translatez-ref.html>
<style>
#outer { transform: translateZ(0); }
fieldset { background: #eee; overflow: hidden; margin: 0 0 10px; }
#inner { position: relative; }
</style>
<p>It should say PASS below without anything obscuring the text.</p>
<div id=outer>
<fieldset>
<legend>
<div id="inner">PASS</div>
</legend>
</fieldset>
</div>