nested svg ignores transformation in Chrome and Opera [duplicate]
问题 This question already has answers here : SVG translate seems to behave different in Chrome/Chromium (2 answers) Closed 4 years ago . I experienced somewhat that I would call a bug. I have the following 2 svg: <svg height="100%" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" xmlns="http://www.w3.org/2000/svg" id="SvgjsSvg1004"> <defs id="SvgjsDefs1005"></defs> <g transform="matrix(2,0,0,2,50,50)" id="SvgjsG1011"> <rect height="50" width="50" id="SvgjsRect1012"></rect> <