Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'public/map4.svg')
-rw-r--r--public/map4.svg16
1 files changed, 16 insertions, 0 deletions
diff --git a/public/map4.svg b/public/map4.svg
index c556811..acb8336 100644
--- a/public/map4.svg
+++ b/public/map4.svg
@@ -22,6 +22,21 @@
<rect id="background"/>
+ <foreignObject width="100%" height="100%">
+ <!--
+ In the context of SVG embedded in an HTML document, the XHTML
+ namespace could be omitted, but it is mandatory in the
+ context of an SVG document
+ -->
+
+ <div style="background-color: orange" xmlns="http://www.w3.org/1999/xhtml">
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis mollis
+ mi ut ultricies. Nullam magna ipsum, porta vel dui convallis, rutrum
+ imperdiet eros. Aliquam erat volutpat.
+ <img src="test.svg" width="10" height="10"/>
+ </div>
+ </foreignObject>
+
<g class="gameboard">
<g id="firing-arcs">
<g id="shapes"/>
@@ -29,5 +44,6 @@
</g>
<g class="grid"/>
</g>
+
<script href="map.js" data-cols="33" data-rows="25"></script>
</svg>