Factor out computing the transform box rect into its own method. Then use it when resolving the transformation matrix, to compute percentage values.
10 lines
223 B
HTML
10 lines
223 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="reference/transform-box-ref.html" />
|
|
<style>
|
|
div {
|
|
border: 20px solid crimson;
|
|
transform: translateY(100%);
|
|
}
|
|
</style>
|
|
<div style="transform-box: fill-box"></div>
|
|
<div></div>
|