Changeset 7402

Show
Ignore:
Timestamp:
02/22/07 12:15:16 (23 months ago)
Author:
elazutkin
Message:

dojo.gfx: fix for DTD declaration in IE, thx to Kun Xi for helping to investigate the problem

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gfx/vml.js

    r7334 r7402  
    16091609        s.rawNode.style.width  = width  ? width  : "100%"; 
    16101610        s.rawNode.style.height = height ? height : "100%"; 
     1611        s.rawNode.style.position = "relative"; 
    16111612        s.rawNode.coordsize = (width && height) 
    16121613                ? (parseFloat(width) + " " + parseFloat(height)) 
  • trunk/tests/gfx/test_gfx.html

    r6069 r7402  
    1 <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" > 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     2<html> 
    23   <head> 
    34   <title>Dojo Unified 2D Graphics</title>