<?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>27319</bug_id>
          
          <creation_ts>2014-11-13 19:55:11 +0000</creation_ts>
          <short_desc>Examples: comments when omitting start and end tags</short_desc>
          <delta_ts>2015-12-04 10:43:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#the-html-element</bug_file_loc>
          <status_whiteboard>[good first bug]</status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>senol.veli</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>114897</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-11-13 19:55:11 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/semantics.html
Multipage: https://html.spec.whatwg.org/multipage/#the-html-element
Complete: https://html.spec.whatwg.org/#the-html-element
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
neither Validator nor any browser got a problem with immediately followed
comments when not defining start-/ and end-tags

Posted from: 77.187.84.131 by senol.veli@gmail.com
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114907</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-13 23:52:34 +0000</bug_when>
    <thetext>Can you elaborate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114922</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-11-14 09:15:55 +0000</bug_when>
    <thetext>I assume this is about &quot;Tag omission in text/html:&quot;

The &quot;problem&quot; is that the comment ends up at a different place in the DOM.

Compare
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3294
vs
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3295

and
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3296
vs
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3297

The spec says that tags can only be omitted if doing so does not change the resulting DOM. But if you&apos;re OK with the changed DOM then it&apos;s fine. It&apos;s equivalent to first editing the document to move the tags to where they can be omitted and then omitting them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115587</commentid>
    <comment_count>3</comment_count>
    <who name="">senol.veli</who>
    <bug_when>2014-11-27 01:03:14 +0000</bug_when>
    <thetext>Thanks, this is the information I was looking for, the DOM is a different one, so one should care, even if there is no error given back from a validator.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115639</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-28 04:18:15 +0000</bug_when>
    <thetext>I guess maybe an example would help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115785</commentid>
    <comment_count>5</comment_count>
    <who name="">senol.veli</who>
    <bug_when>2014-12-02 13:30:06 +0000</bug_when>
    <thetext>Yeas, I think also taht an example would help people to catch this point.

May be an example that could be used in same manner for head-/ and body-element. may be showing what happens or just mentioning the result in DOM.

regards</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124361</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-12-04 10:43:03 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/pull/383</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>