[whatwg] Easily formatting the element

2007-01-27 Thread David Latapie
Hello,

I just wrote this article about how to format the dialog element. This 
is what I’m doing for one year now and, barring poor browser support, 
I’m fairly happy with it. It could be used for a sample stylesheet.



HTM5/Web Applications 1.0 proposes the dialog element.

It will add something on the semantic level (“the dt is the name of the 
person”). But on the presentational level (CSS), this is how I’m doing 
for more than one year:

CSS
dl.run-in, dl.run-in dd{margin:0}
dl.run-in dt, dl.run-in dt:after{font-weight:bold}
dl.run-in dt{display:run-in}
dl.run-in.colon dt:after{content:": "}

XHTML

Person
Speech
Other person
Other speech
[…]


Preview
Luke: A certain point of view?
Obi-Wan: Luke, you’re going to find that many of the truths we cling to 
depend greatly on our own point of view.

And the addendum for a sample style sheet for :
dialog, dialog dd  {margin:0}
dialog dt, dialog dt:after {font-weight:bold}
dialog dt  {display:run-in}
dialog dt:after{content:": "}

For the record: Firefox doesn’t support it (I’m requesting it out 
loud), while Opera does for ages;So do Webkit’s nightly builds.
-- 
 U+0F00
http://blog.empyree.org/fr (Français)
http://blog.empyree.org/en (English)
http://blog.empyree.org/sl (Slovene)

[whatwg] Welcome message

2007-01-27 Thread David Latapie
Good day to you,

This is my first post here. Some may know me from www-style and 
www-html.

I'm an amateur web coder (meaning I'm not making a living out of it) 
deeply interested in standards and the gathering of informations 
promised by the “Semantic Web” as well as, broadly speaking, social 
consequences of technologies on human societies.

For the rest, I’m French and use a Mac. I’m not a programmer but I’m 
quite proficient when it comes to typography.

I can’t think of anything useful to say. If you have any questions, 
feel free.
-- 
 U+0F00
http://blog.empyree.org/fr (Français)
http://blog.empyree.org/en (English)
http://blog.empyree.org/sl (Slovene)

Re: [whatwg] Comparison of XForms-Tiny and WF2

2007-01-27 Thread Geoffrey Sneddon


On 27 Jan 2007, at 02:17, Elliotte Harold wrote:


Matthew Raymond wrote:


   "This specification is in no way aimed at replacing XForms 1.0
[XForms], nor is it a subset of XForms 1.0."


I agree that it's not a subset of XForms 1.0, but the first claim  
is pure FUD. Web Forms 2.0 happened precisely because some people  
didn't like XForms 1.0 and wanted to replace it with something they  
liked better. I'm not saying they're wrong, or that their spec is  
worse, but don't kid yourself about what's going on here.


It's not replacing it, as XForms 1.0 MUST be in an XML document,  
whereas WF2 can be put in an HTML document. Both, IMO, have very  
different use-cases.


- Geoffrey Sneddon