- From: Leroy Finn <finnle@tcd.ie>
- Date: Wed, 8 May 2013 16:25:55 +0100
- To: Mārcis Pinnis <marcis.pinnis@tilde.lv>
- Cc: Yves Savourel <ysavourel@enlaso.com>, "public-multilingualweb-lt-tests@w3.org" <public-multilingualweb-lt-tests@w3.org>
- Message-ID: <CAMYWBwt5YSYYEitti-jxsk=RNsDckDWbiBe3UC5Coy-+K4ikeg@mail.gmail.com>
Sorry ignore the last email it has been updated I was looking at the wrong version. http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#datacategories-defaults-etc Thanks, Leroy On 8 May 2013 16:19, Leroy Finn <finnle@tcd.ie> wrote: > Another question on this topic Marcis said that <script> by default should > be yes but the default stated in the spec states that within text default > is no. Should this default be updated in the spec? > > Leroy > > > On 8 May 2013 13:23, Mārcis Pinnis <marcis.pinnis@tilde.lv> wrote: > >> Hi Yves, >> >> Yes, but it is not quite clear that it is like you explained. The >> specification (following the link below) does not explicitly say that the >> intra-paragraph level means that the head is to be excluded... (or ... am I >> wrong?!). >> >> From your answer I understand that the <head> tag is to be excluded by >> the defaults, but should it then be made explicitly clear (in the spec?)? >> >> Best regards, >> Mārcis ;o) >> >> -----Original Message----- >> From: Yves Savourel [mailto:ysavourel@enlaso.com] >> Sent: Wednesday, May 8, 2013 3:11 PM >> To: public-multilingualweb-lt-tests@w3.org >> Subject: RE: FW: LT-Web withintext4htmloutput.txt >> >> Hum… >> >> Felix pointed the proper reference: >> http://www.w3.org/TR/html51/dom.html#phrasing-content-1 >> >> "Phrasing content is the text of the document, as well as elements that >> mark up that text at the intra-paragraph level." >> >> I'm not sure the element inside <head> are considered "as elements that >> mark up that text at the intra-paragraph level". >> >> -ys >> >> >> From: Karl Fritsche [mailto:karl.fritsche@cocomore.com] >> Sent: Wednesday, May 08, 2013 2:01 PM >> To: public-multilingualweb-lt-tests@w3.org >> Subject: Re: FW: LT-Web withintext4htmloutput.txt >> >> Hi, >> >> I think the complete test suite issn't yet updated to the defaults >> (Elements within Text and Translate). >> >> But nevertheless good point you are bringing up. I think every >> phrasing-element should be considered. So the expected output should be >> withinText="yes" even for the script in the head. >> >> For the example below also >> /html/body[1]/p[1] withinText="no" >> should be changed to >> /html/body[1]/p[1] withinText="yes" >> >> Cheers >> Karl >> >> On 08.05.2013 12:53, Mārcis Pinnis wrote: >> Hi Felix, >> >> We have a question regarding one of the TestSuite examples >> (withintext4htmloutput.txt) after applying the HTML Defaults. >> >> The <script> element according to >> http://www.w3.org/TR/2012/CR-html5-20121217/dom.html#phrasing-content-1is a phrasing content element. The default value for such elements is „yes” >> for elements within text in HTML. >> >> The same page also says: „Phrasing content is the text of the document, >> as well as elements that mark up that text at the intra-paragraph level” >> (by not explicitly specifying that intra-paragraph level means the content >> within <body> ... which could be or could not be understood or >> misunderstood by this explanation). >> The OLD HTML5 Defaults page says something different: All phrasing >> elements (...) which are 'within text'. (by also not specifying what >> „within text” means). >> >> So ... the question is: >> >> Should the <script> element within the <head> element have a default >> elements within text value of „yes”? Or ... do the defaults refer only to >> the content within the <body> tag? >> >> If the value should be “yes”, then the test suite example is wrong. >> If the value should be “no”, maybe it is worth considering to stress that >> the defaults refer just to the content within <body> (or ... according to >> the out-dated Wiki page something that is referred to by “within text”). >> >> Some more details are in the e-mail below. >> >> Best regards, >> Mārcis ;o) >> >> From: Pēteris Ņikiforovs >> Sent: Wednesday, May 08, 2013 1:25 PM >> To: Mārcis Pinnis >> Cc: Andis Lagzdiņš; Artūrs Vasiļevskis >> Subject: LT-Web withintext4htmloutput.txt >> >> elementswithintext\html\withintext4htmloutput.txt has not been updated >> after introducing HTML5 defaults into the standard. >> >> <!DOCTYPE html> >> <html> >> <head> >> <script type="application/its+xml"> >> <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h=" >> http://www.w3.org/1999/xhtml" version="2.0"> <its:param >> name="withinparam">copyright</its:param> >> <its:withinTextRule selector="//h:span|//h:img|//h:em" withinText="yes"/> >> <its:withinTextRule selector="//h:cite" withinText="nested"/> >> <its:withinTextRule selector="//h:section/h:span" withinText="no"/> >> <its:withinTextRule selector="//h:p[@id=$withinparam]" withinText="yes"/> >> </its:rules> </script> >> <meta charset=utf-8> >> <title>Appaloosa</title> >> </head> >> <body> >> <section> >> <span itemref="keyword">horse</span> >> <span itemref="keyword">appaloosa</span> >> </section> >> <p> >> The Appaloosa >> <cite> >> The name comes from "Palouse horse" in reference to the Palouse River >> in Northern Idaho. >> </cite> >> are rugged horses originally breed by the >> <span itemref="keyword">Nez-Perce</span> >> tribe in the US Northwest. >> </p> >> <p> >> They are often characterized by their spotted coats, as shown here: >> <img src="appaloosa.png" alt="Appaloosa horses"/> >> </p> >> <!--footer--> >> <p id="copyright"> >> Copyright: >> <em>Zebulon Inc.</em> >> </p> >> </body> >> </html> >> >> >> /html withinText="no" >> /html/head[1] withinText="no" >> /html/head[1]/script[1] withinText="no" >> /html/head[1]/script[1]/@type >> /html/head[1]/meta[1] withinText="no" >> /html/head[1]/meta[1]/@charset >> /html/head[1]/title[1] withinText="no" >> /html/body[1] withinText="no" >> /html/body[1]/section[1] withinText="no" >> /html/body[1]/section[1]/span[1] withinText="no" >> /html/body[1]/section[1]/span[1]/@itemref >> /html/body[1]/section[1]/span[2] withinText="no" >> /html/body[1]/section[1]/span[2]/@itemref >> /html/body[1]/p[1] withinText="no" >> /html/body[1]/p[1]/cite[1] withinText="nested" >> /html/body[1]/p[1]/span[1] withinText="yes" >> /html/body[1]/p[1]/span[1]/@itemref >> /html/body[1]/p[2] withinText="no" >> /html/body[1]/p[2]/img[1] withinText="yes" >> /html/body[1]/p[2]/img[1]/@alt >> /html/body[1]/p[2]/img[1]/@src >> /html/body[1]/p[3] withinText="yes" >> /html/body[1]/p[3]/@id >> /html/body[1]/p[3]/em[1] withinText="yes" >> >> No global or local rules are defined for the <script> element and it >> should have the default value. In HTML5, all „phasing content” elements >> have the default value of withinText="yes". The <script> element is one of >> them. >> >> This line >> >> /html/head[1]/script[1] withinText="no" >> >> should be changed to >> >> /html/head[1]/script[1] withinText="yes" >> >> >> >> >> >
Received on Wednesday, 8 May 2013 15:26:22 UTC