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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>187907</bug_id>
          
          <creation_ts>2018-07-23 08:50:20 -0700</creation_ts>
          <short_desc>[Meta] Ensure element queues are properly pushed/popped from custom element reactions stack</short_desc>
          <delta_ts>2018-08-01 17:54:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>154907</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=187319</see_also>
          <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="Frédéric Wang Nélar">fred.wang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>rniwa</cc>
    
    <cc>rwlbuis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1444270</commentid>
    <comment_count>0</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2018-07-23 08:50:20 -0700</bug_when>
    <thetext>These are the places where such operations are mentioned in the spec:

1) create an element for a token
   https://html.spec.whatwg.org/#create-an-element-for-the-token
   This is at least making one test fail in custom-elements/parser/parser-sets-attributes-and-children.html and causing the ASSERT in bug 187802.

2) insert a foreign element
   https://html.spec.whatwg.org/#insert-a-foreign-element
   This is at least making another test fail custom-elements/parser/parser-sets-attributes-and-children.html.

3) Operations, attributes, setters, or deleters annotated with the [CEReactions] extended attribute
   https://html.spec.whatwg.org/#custom-element-reactions:custom-element-reactions-stack-5
   Hopefully, we already do all the necessary calls, but bug 187851 will make sure we don&apos;t miss anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446791</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2018-07-31 19:34:42 -0700</bug_when>
    <thetext>We need to be very careful with respect to how this work affects perf.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1447076</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2018-08-01 17:54:12 -0700</bug_when>
    <thetext>We don&apos;t really need a meta bug like this separate from the bug 154907.

*** This bug has been marked as a duplicate of bug 154907 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>