- From: Laurens Holst <lholst@students.cs.uu.nl>
- Date: Mon, 19 Mar 2007 20:36:05 +0900
- To: matt@builtfromsource.com
- CC: public-html@w3.org, WHAT Working Group Mailing List <whatwg@whatwg.org>
- Message-ID: <45FE75A5.6060609@students.cs.uu.nl>
Matthew Ratzloff schreef: > Here's a look at five types of media and use cases for each. The first is > how you might use HTML today. The second is how I would like to be able > to use it. (Some of these don't allow self-closing tags, but I don't want > to look up which ones--I think all tags should be allowed to be > self-closing, in any event. In cases where tags define attributes like > width, height, etc., I think this should be deferred to CSS.) Actually, I disagree with that :). Technically spoken, there is no need for width and height, because the image itself has that information. However, it has merit to repeat it in the document, because it will allow the browser to lay out its page better while rendering incrementally. And I would really say it’s meta-information, providing information about the image or other type of object, and not atylistic. So putting it in a style="" attribute does not only look ugly, but would also be incorrect. Maybe in an ideal HTML, the image’s actual size would override the width and height attributes on the <img> element (like the HTTP content type also overrides an object’s provided type). That way, it couldn’t be used for stylistic purposes, yet still serving its purpose. ~Grauw -- Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Laurens Holst, student, university of Utrecht, the Netherlands. Website: www.grauw.nl. Backbase employee; www.backbase.com.
Received on Monday, 19 March 2007 11:36:52 UTC