- From: Sylvain Galineau <sylvaing@microsoft.com>
- Date: Fri, 12 Feb 2010 20:52:40 +0000
- To: "www-style@w3.org" <www-style@w3.org>
I have just found out that IE does in fact already support scientific notation for CSS lengths (see simple testcase below). The CSS hack factor is thus already out there and has been for quite some time as this works from quirks mode up (with IE8 no longer supporting the notation for percentage values). We currently have a bug filed for this. (And we thus know understand why MSIE has *really* been giving Hakon headaches all these years....) <div id=ref"> <p style="font-weight:bold">Reference:</p> <div style="width:500px; background-color:blue"> <div style="width:75%; background-color:yellow"> <div style="font-size:100pt">A<span style="font-size:0.5em">B</span></div> </div> </div> <div id="test"> <p style="font-weight:bold">Sci-notation version:</p> <div style="width:5e2px; background-color:blue"> <div style="width:75%; background-color:yellow"> <!-- 7.5e1% works in IE7 and earlier --> <div style="font-size:1e2pt">A<span style="font-size:5e-1em">B</span></div> </div> </div> </div>
Received on Friday, 12 February 2010 20:54:11 UTC