title: X3DOM resizing while keeping aspect ratio
body: <p>When resizing an X3DOM element I'm currently facing the problem that the ratio of the displayed nodes is not correct (objects get streched or compressed).</p>
  
  <p>Resizing is currently done via manipulation of the style attributes of the x3d dom node and the child canvas object as shown here:
  <a href="http://www.x3dom.org/x3dom/test/functional/cssIntegration.html" rel="nofollow">http://www.x3dom.org/x3dom/test/functional/cssIntegration.html</a></p>
  
  <p>This works well as long width &amp; height both get increased about the same amount, but for my project I need to ensure that I can also just adjust width OR height. </p>
  
  <p>Is there any way to make X3DOM correct the ratio?</p>