W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2015

[Bug 28626] [QT3TS] Serialization-xhtml-4

From: <bugzilla@jessica.w3.org>
Date: Tue, 23 Jun 2015 15:35:01 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28626-523-6Pb50ExXMt@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28626

--- Comment #5 from Tim Mills <tim@cbcl.co.uk> ---
My revised list is:

Serialization-xhtml-2


   <test-case name="Serialization-xhtml-2" >
      <description>
        With html-version=5, empty elements are serialized using self-closing
tags including a space,
        and are recognized when in no namespace</description>
      <created by="Henry Zongaro" on="2012-10-26"/>
      <modified by="O'Neil Delpratt" on="2013-05-30" change="added dependency
inline with bug issue #21868"/>
      <modified by="Michael Kay" on="2015-04-09" change="created XHTML version
of HTML serialization test"/>
      <test><![CDATA[
declare boundary-space strip;        
declare namespace output = "http://www.w3.org/2010/xslt-xquery-serialization";
declare option output:method  "xhtml";
declare option output:indent  "no";
declare option output:html-version  "5.0";

<html><body><area/><base/><br/><col/><command/><embed/><hr/><img/><input/><keygen/><link/><meta/><param/><source/><track/><wbr/></body></html>
]]></test>
      <result>
         <all-of>
          
<serialization-matches><![CDATA[<html><body><area\s*/><base\s*/><br\s*/><col\s*/><command\s*/><embed\s*/><hr\s*/><img\s*/><input\s*/><keygen\s*/><link\s*/><meta\s*/><param\s*/><source\s*/><track\s*/><wbr\s*/></body></html>]]></serialization-matches>
           <serialization-matches flags="i"><![CDATA[<!DOCTYPE
.*]]></serialization-matches>
         </all-of>
      </result>
   </test-case>

"command" is not an EMPTY/void.

[Definition: The following XHTML elements have an EMPTY content model: area,
base, br, col, embed, hr, img, input, link, meta, basefont, frame, isindex, and
param.]

[Definition: The void elements of HTML5 are area, base, br, col, embed, hr,
img, input, keygen, link, meta, param, source, track and wbr.]

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 23 June 2015 15:35:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 23 June 2015 15:35:11 UTC