<?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>18534</bug_id>
          
          <creation_ts>2012-08-10 23:15:33 +0000</creation_ts>
          <short_desc>[Custom]: Pseudo-class to mitigate FOUC</short_desc>
          <delta_ts>2012-12-10 20:30:47 +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>18720</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>danieljb2</cc>
    
    <cc>dominicc</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72066</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-08-10 23:15:33 +0000</bug_when>
    <thetext>It seems that it might be good to have a CSS pseudo-class to help mitigate the inherent FOUC with Web Components (now that they are asynchronous again).

The question is what should they be?

One idea is to have &quot;:shadow-host&quot;, which simply indicates if the current element is a shadow host or not. This is specific to shadow DOM spec, which makes it applicable in non-Web Components world

Another idea would be to have &quot;:component&quot;, which matches when an element is a custom DOM element.

Yet another thought is to just add &quot;:components-ready&quot;, which only matches on document and shares the timing of some &quot;componentsready&quot; DOM event.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72143</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-08-13 20:45:15 +0000</bug_when>
    <thetext>Elliott Sprehn suggested &quot;:unknown&quot; for any elements that have HTMLUnknownElement backing. This seems awesome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72918</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-08-28 20:45:08 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/webcomponents/rev/94e3b76fa3a2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79858</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-12-10 20:30:47 +0000</bug_when>
    <thetext>*** Bug 20186 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>