<?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>28445</bug_id>
          
          <creation_ts>2015-04-08 16:07:46 +0000</creation_ts>
          <short_desc>[Shadow]: The default value of open/closed flag</short_desc>
          <delta_ts>2015-12-03 07:43:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          <blocked>20144</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Hayato Ito">hayato</assigned_to>
          <cc>annevk</cc>
    
    <cc>hayato</cc>
    
    <cc>humanarity</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
    
    <cc>timdream</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119377</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2015-04-08 16:07:46 +0000</bug_when>
    <thetext>This is a contentious bit: https://github.com/w3c/webcomponents/wiki/Shadow-DOM:-Contentious-Bits#b-the-default-value-of-closed-shadow-tree-flag</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119378</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2015-04-08 16:08:33 +0000</bug_when>
    <thetext>From https://lists.w3.org/Archives/Public/public-webapps/2015AprJun/0052.html

Annevk: &quot; We&apos;re not sure about closed shadow DOM.
With composition/layout you want scripts to be able to go in and out.
(See also event retargeting.) For styling we&apos;d like to see something
better than boundary-piercing. Ideally something akin to
pseudo-elements, but with the ability to put restrictions on the
amount of things they can affect. In Gecko we&apos;ll probably experiment
with &quot;closed&quot; in a way similar to Chrome (to get rid of XBL), but
unless we&apos;d go down the isolated shadow DOM route (which seems
unlikely due to the overhead) that will require proprietary technology
that browsers are nowhere near ready to converge on.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119769</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-04-22 21:36:03 +0000</bug_when>
    <thetext>FYI. I&apos;ve added an API to create a closed shadow tree. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=20144#c17.

There, the default is &quot;open&quot; tentatively.
However, I&apos;m aware that which the default should be is still in the discussion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119908</commentid>
    <comment_count>3</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-04-27 03:13:27 +0000</bug_when>
    <thetext>The resolution is: 
  &quot;Will have both open and closed in v1, must be explicitly declared&quot;

See https://www.w3.org/wiki/Webapps/WebComponentsApril2015Meeting

Let me close this bug. See bug 20144 for the actual API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124348</commentid>
    <comment_count>4</comment_count>
    <who name="Cris Stringfellow">humanarity</who>
    <bug_when>2015-12-03 07:43:04 +0000</bug_when>
    <thetext>Don&apos;t make it impossible for scripts to access nodes in or distributed in a shadow tree. Why? What if we want to have privileged chrome code modify or read content from a page, to alter or enhance a page&apos;s behaviour? What if we want to programmatically interact with nodes within a shadow boundary? If scripts have no access to these... this is impossible. It is essentially a form of DRM for any content on the web. The workaround is to recompile Chrome from source and revert changes that introduce these restrictions, in effect forking the browser.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>