Status: PASS | Duration: 14ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-transforms/transform-table-003.html
<!DOCTYPE html> <html> <head> <title>CSS Test (Transforms): Transform on Table 2</title> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-property"> <meta name="assert" content='This tests that another appropriately-crafted transform applied to a table works the same as if was applied to a wrapper div.'> <link rel="match" href="transform-table-001-ref.html"> <link rel="mismatch" href="transform-table-001-notref.html"> <style> div { transform: translateX(200px) rotate(180deg) translateY(-100%); transform-origin: left; } table { transform: translateY(100%); } </style> </head> <body> <div> <table> <caption>Hello</caption> <tr><td>there!</td></tr> </table> </div> </body> </html>
/css/css-transforms/transform-table-001-ref.html
<!DOCTYPE html> <html> <head> <title>CSS Reftest Reference</title> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <style> div { transform: translate(200px) rotate(180deg); transform-origin: left; } </style> </head> <body> <div> <table> <caption>Hello</caption> <tr><td>there!</td></tr> </table> </div> </body> </html>