<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>28825</bug_id>
          
          <creation_ts>2015-06-18 17:44:54 +0000</creation_ts>
          <short_desc>Should empty-element tags include a space before forward slash e.g. &quot;&lt;br /&gt;&quot;?</short_desc>
          <delta_ts>2015-06-18 18:02:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>CR HTML/XHTML Compatibility Authoring Guide (ed: Eliot Graff)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Bentley">johnny_bentley</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>johnny_bentley</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>121216</commentid>
    <comment_count>0</comment_count>
    <who name="John Bentley">johnny_bentley</who>
    <bug_when>2015-06-18 17:44:54 +0000</bug_when>
    <thetext>&quot;Polyglot Markup: A robust profile of the HTML5 vocabulary&quot;, W3C Editor&apos;s Draft 07 May 2014, 4.6.1 Void elements, http://dev.w3.org/html5/html-polyglot/html-polyglot.html#empty-elements

This current specification for using empty-element tags exemplifies this without a space before the forward slash. That is, we currently have examples like &quot;&lt;br/&gt;&quot;.

However, in the past the recommendation (in the web community at large) was to include a space before the forward slash, as in &quot;&lt;br /&gt;&quot;, for compatibility reasons.

I&apos;d recommend including a note, or otherwise amending the document, to clarify the use of spaces before the forward slash (as in &quot;&lt;br /&gt;&quot;). 

I&apos;m not clear on whether any of the current crop of browsers still requires a usage like &quot;&lt;br /&gt;&quot;.

I suggest a note to the effect of one of the following be included (depending on the state of affairs) ...

A) &quot;Both uses, as in &apos;&lt;br/&gt;&apos; or &apos;&lt;br /&gt;&apos;, are permitted. While a use like &apos;&lt;br /&gt;&apos; was formerly required for compatibility, this is no longer the case&quot;.

B) &quot;Use something like &apos;&lt;br /&gt;&apos;, not &apos;&lt;br/&gt;&apos;, for compatibility reasons.&quot;

C) ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121217</commentid>
    <comment_count>1</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2015-06-18 17:50:14 +0000</bug_when>
    <thetext>I&apos;m afraid I am no longer editing this spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121218</commentid>
    <comment_count>2</comment_count>
    <who name="John Bentley">johnny_bentley</who>
    <bug_when>2015-06-18 18:02:57 +0000</bug_when>
    <thetext>That&apos;s a shame, so far it&apos;s been a well written document.

Would the following therefore be the right course of action for you to take:

* Take your name off the document &quot;Polyglot Markup: A robust profile of the HTML5 vocabulary&quot; as a current editor (and list yourself as a former editor); and
* Contact Leif H. Silli to see if they would be happy to include their email here at bugzilla, against the &quot;CR HTML/XHTML Compatibility Authoring Guide&quot; (Polyglot Markup: A robust profile of the HTML5 vocabulary) entries.
* Ensure Leif is aware of this &quot;bug&quot; (the first &quot;bug&quot; for the document?).

?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>