Files
firefox/testing/web-platform/tests/css/css-transforms/transform-iframe-002.html
Martin Robinson 8ba58497a2 Bug 1887310 [wpt PR 45296] - layout: Allow transforming inline replaced elements, a=testonly
Automatic update from web-platform-tests
layout: Allow transforming inline replaced elements

This requires passing through information about whether or not the
element in question is replaced when checking to see if it's
transformable and transitively all functions that make decisions about
containing blocks. A new FragmentFlag is added to help track this -- it
will be set on both the replaced items BoxFragment container as well as
the Fragment for the replaced item itself.

Fixes #31806.

--

wpt-commits: c9e74b1951ab94eecb9b554486c3d30255d340ce
wpt-pr: 45296
2024-03-28 14:10:37 +00:00

21 lines
747 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Iframe</title>
<link rel="author" title="Martin Robinson" href="mailto:[email protected]">
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-rendering">
<meta name="assert" content="This test ensures that an iframe element can be transformed.">
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
<style>
iframe {
height: 50px;
width: 50px;
transform: translate(25px, 25px) scale(2, 2);
border: none;
}
</style>
<p>Test passes if there is a filled green square.</p>
<iframe src="support/transform-iframe-002-contents.html"></iframe>
</body>
</html>