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

[xhtml2] src attribute and text/html

From: <karl@w3.org>
Date: Thu, 17 Aug 2006 03:28:06 -0000
To: www-html-editor@w3.org
Message-Id: <20060817032812.7FF9E4F5B8@homer.w3.org>

Hi,
This is a QA Review comment for "XHTML 2.0"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/
2006-07-26
8th WD

About http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-embedding.html

There are interesting questions raised by this attribute. It might be worthwhile to specify a bit more what the following text means:

	"src = URI
	This attribute specifies the location of an 
	external source for the contents of the 
	element. Actuation occurs as the default 
	action of a [DOM] load event for the element 
	that the attribute occurs on."

Example where "actuation" is not clear.

  <div class="news">
	<div class="newsitem"
		 src="love-hate.html"
		 srctype="text/html">
    <h property="title">Love is the new consensus </h>
    <p>Sharing love has been decided to achieving 
	   consensus in international organization.</p>
	</div>
   </div>

- Are h and p replaced by the content linked by the src attribute?
- In terms of DOM, what does it mean? can a script on pieces of markup which have been loaded by URI?
- Is it a case for the changed attribute?
- When someone does a cut and paste, is it the rendered/replaced content which is cut and paste? or the initial content (here h and p)? If the first case, does it change in an authoring tool?
- what's happening with CSS when the initial content is being styled?
- What's happening if "love-hate.html" is not a real HTML file, but pieces of HTML code?
- In terms of accessibility, should both text be accessible, for example a screen reader? When it's an imagemap for navigation purpose has shown in 
  http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-csImgMap.html
- In terms of indexing what does that mean to actuate the link?



-- 
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 Thursday, 17 August 2006 03:29:26 GMT

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