<?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>8372</bug_id>
          
          <creation_ts>2009-11-25 11:53:10 +0000</creation_ts>
          <short_desc>Restore &lt;spacer&gt; parsing as void element</short_desc>
          <delta_ts>2010-10-04 14:30:00 +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>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henri Sivonen">hsivonen</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>29724</commentid>
    <comment_count>0</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2009-11-25 11:53:10 +0000</bug_when>
    <thetext>Some time during the past 9 months or so, the spec has regressed &lt;spacer&gt; parsing by making it no longer parse as a void element.

Since the parsing section is mandatory and the rendering section is optional, it seems that the easiest way to address the non-support of &lt;spacer&gt; in most browsers while avoiding poking at sunk cost too much would be making the element parse as a void element.

This also seems like the safer bet, considering that there are instances of the &lt;spacer&gt; element out there (particularly on pages created with Adobe GoLive 4).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29725</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-11-25 12:14:27 +0000</bug_when>
    <thetext>It&apos;s not a void element in Opera or WebKit. What problem is solved by making it void?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29731</commentid>
    <comment_count>2</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2009-11-25 12:55:36 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; It&apos;s not a void element in Opera or WebKit. What problem is solved by making it
&gt; void?

1) &lt;spacer&gt; has always been void when authored, so making it void avoids weirdly-shaped DOMs.
2) Making it void allows UAs to support rendering of &lt;spacer&gt; (since the rendering section is informative). Making it non-void in the normative parsing section effective prevents optional rendering support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29732</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-11-25 13:22:40 +0000</bug_when>
    <thetext>Which DOM interface do you think spacer should have?

Does supporting &lt;spacer&gt; in the rendering gain Web compat?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29733</commentid>
    <comment_count>4</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2009-11-25 13:45:14 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Which DOM interface do you think spacer should have?

Apparently HTMLSpacerElement that is a mere marker interface that doesn&apos;t differ from HTMLElement.

&gt; Does supporting &lt;spacer&gt; in the rendering gain Web compat?

I flipped through the pages from http://canvex.lazyilluminati.com/survey/2007-07-17/analyse.cgi/tag/spacer in both Firefox and Safari. I couldn&apos;t find a single page where the lack of &lt;spacer&gt; support disadvantaged Safari in a noticeable way. I found one case (the same that Maciej found) where you could spot a tiny disadvantage to Safari when comparing pages side-by-side:
http://www.literaturkritik.de/public/rezension.php?rez_id=1547

I did notice that rendering the border around linked images disadvantaged Firefox in some cases. https://bugzilla.mozilla.org/show_bug.cgi?id=452915

From this data, it&apos;s hard to make the case that non-Gecko browsers should add layout-level support for &lt;spacer&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30032</commentid>
    <comment_count>5</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2009-12-09 05:11:39 +0000</bug_when>
    <thetext>Let&apos;s try removing &lt;spacer&gt; from Gecko instead.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>