W3C home > Mailing lists > Public > www-html@w3.org > July 2008

Re: XHTML Basic 1.1 and setting input field to numeric mode

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Tue, 01 Jul 2008 10:58:22 +0100
Message-ID: <4869FFBE.2010307@googlemail.com>
To: Luca Passani <passani@eunet.no>
CC: Mark Birbeck <mark.birbeck@webbackplane.com>, Tina Holmboe <tina@greytower.net>, Shane McCarron <shane@aptest.com>, "Michael(tm) Smith" <mike@w3.org>, www-html@w3.org

Luca Passani wrote:
> My code is separating content from presentation for real. Your code 
> isn't. Your code is a mess.

I really don't follow you. Neither set of outputs corrupt meaning by 
making it reliant on presentation. However, your output mixes 
presentation and content, such that the style and content are output in 
the same place and styles cannot be overridden if necessary (because of 
the "style" attribute's specificity). My output puts them in separate 
places, and allows styles to be overridden if necessary. My code would 
allows the creation of media-specific styles or multiple skins, but 
yours would not, given the current limitations of the style attribute. 
That's what I mean by your content being intrinsically bound to your 

The code differences simply reflect the different outputs. As such the 
code differences in themselves are not ugly or hacks (in either case); 
they are simply doing a different job.

Benjamin Hawkes-Lewis
Received on Tuesday, 1 July 2008 09:59:01 UTC

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