<?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>27332</bug_id>
          
          <creation_ts>2014-11-15 00:40:32 +0000</creation_ts>
          <short_desc>Contexts in which this element can be used: not where flow content is expected?</short_desc>
          <delta_ts>2016-03-28 13:29:18 +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>WORKSFORME</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#the-script-element</bug_file_loc>
          <status_whiteboard></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>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>114959</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-11-15 00:40:32 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/scripting.html
Multipage: https://html.spec.whatwg.org/multipage/#the-script-element
Complete: https://html.spec.whatwg.org/#the-script-element
Referrer: https://html.spec.whatwg.org/multipage/semantics.html

Comment:
Contexts in which this element can be used: not where flow content is
expected?

Posted from: 77.7.191.235 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>115146</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-19 22:07:45 +0000</bug_when>
    <thetext>Phrasing content is expected anywhere that flow content is expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115992</commentid>
    <comment_count>2</comment_count>
    <who name="">senol.veli</who>
    <bug_when>2014-12-07 15:40:31 +0000</bug_when>
    <thetext>One fact is confusing at this point:

Wheter this element should only be categorized as phrasing content, so one knows you can use it everywhere where phrasing content is expected. This information is enough to know, one can use it also where flow content is expected, since nearly all elements that is phrasing content can be used *anywhere* (restrictions left now aside).
But if you categorize one element as Flow and phrasing content, it is confusing that it is not mentioned &quot;allowed tu use where flow content is expected&quot;, because -and your answer above is also not sufficient-:

When someone is to use this element and wants to know if, he is allowed to use it in e.g. a p-Element -of which the content model is phrasing content model is phrasing content, the author will be confused, because, may be he is not able to determine if the script element in this using case is categorzed as flow and phrasing or just flow.

A help could be to say if an element is categorized as flow and phrasing you can use it in any case where phrasing content is allowed.

Can you catch my idia or is it idiocy?


best regards</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116591</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-12-19 23:12:02 +0000</bug_when>
    <thetext>The spec always explicitly says that an element is both Flow and Phrasing when it is Phrasing. This should be true of all Phrasing elements.

An element has all categories it has. Saying that an element accepts elements with category 2 doesn&apos;t mean it doesn&apos;t accept elements with both categories 1 and 2. I don&apos;t know how to make that clearer though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125644</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-28 13:29:18 +0000</bug_when>
    <thetext>https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts already explains this in a note.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>