<?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>188752</bug_id>
          
          <creation_ts>2018-08-20 11:44:48 -0700</creation_ts>
          <short_desc>slotchange event does not fire with initial content</short_desc>
          <delta_ts>2018-08-27 21:22:28 -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>Safari 11</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.13</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>169718</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>148695</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jan Miksovsky">jan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1451651</commentid>
    <comment_count>0</comment_count>
    <who name="Jan Miksovsky">jan</who>
    <bug_when>2018-08-20 11:44:48 -0700</bug_when>
    <thetext>See http://jsbin.com/wirubeq/edit?html,console,output.

In Chrome/Firefox, when a component with light DOM content is attached to the document, and a slot is created with a slotchange listener, the slot will raise an initial slotchange event. Safari does not do this.

The Chrome/Firefox behavior is useful because it allows a component to concentrate its initial content processing in a slotchange handler. To get consistent behavior, we have to normalize the slotchange behavior across browsers, which is cumbersome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1451953</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-08-20 21:11:29 -0700</bug_when>
    <thetext>&lt;rdar://problem/43544149&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1454283</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2018-08-27 21:22:28 -0700</bug_when>
    <thetext>This is a duplicate of webkit.org/b/169718.

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

    </bug>

</bugzilla>