W3C home > Mailing lists > Public > www-html@w3.org > September 2006

Semantics scope of blockquote

From: Karl Dubost <karl@w3.org>
Date: Wed, 27 Sep 2006 09:54:52 +0900
Message-Id: <BC34EE1C-1D2E-4DB7-BD5B-93CCADF92DCE@w3.org>
To: XHTML-Liste <www-html@w3.org>

Before sending a formal comment to www-html-editor@w3.org

XHTML 2.0 doesn't define the semantics scope of blockquote element.


* Test Case

# partial XHTML 2.0 Test case for blockquote scope
<section>
<h>Collection of famous quotes</h>
<p>We collected quotes from different pages</p>

<blockquote cite="http://example.org/source">
    <section>
       <h>Title in the text</h>
       <p>Here some text</p>
    </section>
</blockquote>

</section>
# end of test

* Discussion

The inner 'section' in the blockquote element doesn't have the same  
value than the section outside of blockquote element. Then they do  
not belong to the same semantics structure. Why it is important? For  
two main reasons (at least)
	1. You may want to analyze the semantics of a Web page and define  
algorithm for outline and structure.
	2. You may want to style sections inside blockquote and outside  
blockquote in a different way. (Yes there is a discussion going on  
www-style which is slightly related.)


Some opinions?

PS: The semantics model of elements in a global HTML is sometimes  
underdefined.

-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Wednesday, 27 September 2006 00:55:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:07 GMT