- From: Asbjørn Ulsberg <asbjorn@ulsberg.no>
- Date: Wed, 04 Apr 2007 16:15:50 +0200
- To: "Dao Gottwald" <dao@design-noir.de>
- Cc: public-html@w3.org
On Wed, 04 Apr 2007 01:49:31 +0200, Dao Gottwald <dao@design-noir.de> wrote: > Because stuff can be quoted inline and across blocks. If QUOTE is > inline, you can't wrap block-level content without violating the spec. Why do you have to constrain it? > CSS doesn't help, as it's irrelevant to the construction of the DOM tree. It is? How can <quote><p> vs <p><quote> (for example) be irrelevant? > I guess it would be possible to define QUOTE as flexible as DEL and INS, > but styling that wouldn't be trivial. Yes it would. Inline quote: <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent euismod. <quote>Integer condimentum, urna at feugiat mollis, nisl est condimentum ante, eu elementum sapien turpis at risus.</quote> </p> p > quote { backgorund-color: #ccc; } Two-paragraph quote: <quote> <p>Cras erat nisi, venenatis non, aliquet a, aliquam vitae, magna. Nulla augue sapien, venenatis sed, elementum euismod, sodales in, felis. Nam at magna. Quisque quis est vitae lectus accumsan sagittis.</p> <p>Quisque ornare lorem vel tellus vulputate egestas. Proin eu tellus. Suspendisse potenti. Proin hendrerit lobortis nibh. Cras accumsan libero et orci. Pellentesque tincidunt. Ut condimentum felis et neque. Aliquam accumsan magna et sapien.</p> </quote> quote > p { display: block; margin: 1em; } > I was under the impression that HTML must be presentable with the > default stylesheet. The only solution that comes to my mind is to > introduce new CSS pseudo-classes, e.g. :block-level and :inline. Hm, what would trigger those modes of pseudo classes? -- Asbjørn Ulsberg -=|=- asbjorn@ulsberg.no «He's a loathsome offensive brute, yet I can't look away»
Received on Wednesday, 4 April 2007 14:12:45 UTC