1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en">
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8"/>
6 <title>Matrix testing
</title>
7 <style type=
"text/css" media=
"screen">
9 -webkit-box-sizing: border-box;
14 display: inline-block;
22 background-color: silver;
23 border:
1px solid black;
32 border:
1px dotted black;
33 -webkit-transform-origin: top left; /* to match SVG */
37 transform: translate(
75px,
25px);
45 transform: rotate(
45deg);
49 transform: translate(
75px,
25px) scale(
2) rotate(
45deg);
53 border:
1px solid blue;
62 <div class=
"container">
63 <svg xmlns=
"http://www.w3.org/2000/svg" version=
"1.1"
64 viewBox=
"0 0 200 200" style=
"width:200px; height:200px;">
65 <g id=
"group1" x=
"0" y=
"0" width=
"60" height=
"60">
66 <rect x=
"0" y=
"0" width=
"60" height=
"60" stroke=
"black" stroke-width=
"1px" stroke-dasharray=
"1 1" fill=
"none" />
67 <g id=
"group2" x=
"0" y=
"0" width=
"60" height=
"60" >
68 <rect x=
"0" y=
"0" width=
"60" height=
"60" stroke=
"black" stroke-dasharray=
"1 1" stroke-width=
"1px" fill=
"none" />
69 <rect id=
"group3" x=
"0" y=
"0" width=
"60" height=
"60" stroke=
"blue" fill=
"none" />
76 <div class=
"container">
77 <div id=
"box1" class=
"box" style=
"transform: translate(75px, 25px)">
78 <div id=
"box2" class=
"box" style=
"transform: scale(2)">
79 <div id=
"box3" class=
"final box" style=
"transform: rotate(45deg)">
88 <div class=
"container">
89 <svg xmlns=
"http://www.w3.org/2000/svg" version=
"1.1"
90 viewBox=
"0 0 200 200" style=
"width:200px; height:200px;">
91 <rect id=
"rect1" x=
"0" y=
"0" width=
"60" height=
"60" stroke=
"blue" fill=
"none"/>
96 <div class=
"container">
97 <div class=
"final box" style=
"transform: translate(75px, 25px) scale(2) rotate(45deg)">