[whatwg] Web Forms 2.0 Implementation choices

Jim Ley jim.ley at gmail.com
Mon Jan 10 07:42:25 PST 2005


On Mon, 10 Jan 2005 16:15:42 +0100, Olav Junker Kjær <olav at olav.dk> wrote:
> However, some features in the spec is impossible to implement even using
> HTC's:
> - implementation.hasFeature("WebForms", "2.0") cannot be supported

Not a serious suggestion, but you can actually support it:

    <iframe name=implementation src="javascript:'<script>function
hasFeature(a,b) { if (a==\'Web Forms\' && b==\'2.0\') return true;
return document.implementation.hasFeature(a,b) }</script>'"
style="height:0px;width:0px;"></iframe>
<script type="text/javascript">
function window.onload() {
      alert(document.implementation.hasFeature("Web Forms", "2.0"))
}
</script>

:-)

Jim.



More information about the whatwg mailing list