<?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>20294</bug_id>
          
          <creation_ts>2012-12-07 21:21:32 +0000</creation_ts>
          <short_desc>[Explainer]: Misleading claim around CSS resets</short_desc>
          <delta_ts>2013-05-28 00:06:33 +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>Macintosh</rep_platform>
          <op_sys>MacOS X</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>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14949</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Nicolas Gallagher">nicolasgallagher</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>dominicc</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79671</commentid>
    <comment_count>0</comment_count>
    <who name="Nicolas Gallagher">nicolasgallagher</who>
    <bug_when>2012-12-07 21:21:32 +0000</bug_when>
    <thetext>&quot;No more need for lengthy reset stylesheets!&quot;

Minor point: it&apos;s not clear if this refers to the base styles commonly used by sites/apps or custom (attempts at) resets that might be used by contemporary JS-widgets that are expecting to live within a site/app.

Main point: having all the styles set to their initial values at the shadow boundary doesn&apos;t necessarily mean that some kind of reset/normalize/base won&apos;t continue to be used in order to zero out or normalize browser default styles.

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88261</commentid>
    <comment_count>1</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-05-28 00:06:33 +0000</bug_when>
    <thetext>I removed that specific language--I guess it refers to &quot;author reset stylesheets&quot;, but that is a novel concept, I think most web developers would take that to mean &quot;browser reset stylesheets&quot; which are of course still necessary.

So I engaged in some exposition pointing out that if you want maximum style isolation you&apos;ll turn off apply-author-styles and turn on reset-style-inheritance; it now reads:

&quot;You can relax this boundary with the apply-author-styles attribute on the &lt;template&gt; element. With the attribute present, document&apos;s author styles start applying in the shadow DOM subtree.

Conversely, you can make the boundary even stronger by setting the reset-style-inheritance attribute on the &lt;template&gt; element. With the attribute present, all styles are reset to initial values at the shadow boundary.

If you omit apply-author-styles and set reset-style-inheritance you&apos;re back to a clean slate. Your element is insulated from the styles in the page—even inherited properties—and you can use a browser reset stylesheet to build up the exact style you want.&quot;

&lt;https://dvcs.w3.org/hg/webcomponents/rev/0154dbb74713&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>