W3C home > Mailing lists > Public > www-html@w3.org > February 2005

Re: Suggestion/Enchantment: Canvas operations in HTML - resizable HTML

From: David Woolley <david@djwhome.demon.co.uk>
Date: Wed, 9 Feb 2005 23:00:49 +0000 (GMT)
Message-Id: <200502092300.j19N0ob00905@djwhome.demon.co.uk>
To: www-html@w3.org

> HTML files are optimized to one size. 800/600, or 1024/768.

Proper HTML files are rendering independent, and may be optimised for
a five minute speech!  HTML files "optimised" for full screen at particular
resolutions are usually badly designed.

> But I think, that some Windows MetaFile - like operations are missing 
> from HTML.
> <viewport width=100px height=100px canresize=True>
>  <line x1=10 y1=10 x2=50 y2=50>

Please see SVG which is the W3C standard for purely presentational
work.  Note though that the SVG group has wandered off into competing
with Flash and has forgotten the original purpose of simple WMF type
uses.  Although abused as a page description language, HTML is not, and
is not a good choice for pixel perfect layouts (it is a good choice for
end users and machine processing (e.g. search engines)).

If you do want to make use of the structural features of HTML as well, 
you need to use XHTML and namespaces, although note that the SVG working
group has been criticised for ignoring mixed namespace documents.

>  <box pos="10,10,20,20" fillcolor="red" fillstyle="thincross_left">
>  <text pos="80,80" text="Test" font="arial" size="8">

Ouch.  This sort of construct encourages a total failure to maintain
correct reading order in the source and to use consistent styling.
Received on Wednesday, 9 February 2005 23:50:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:10 UTC