<?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>15150</bug_id>
          
          <creation_ts>2011-12-12 19:22:57 +0000</creation_ts>
          <short_desc>[Explainer]: Rendered markup in poem example does not have the classname</short_desc>
          <delta_ts>2013-05-29 02:17:19 +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>14949</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Divya Manian">divya.manian</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>61458</commentid>
    <comment_count>0</comment_count>
    <who name="Divya Manian">divya.manian</who>
    <bug_when>2011-12-12 19:22:57 +0000</bug_when>
    <thetext>E.g. div class=&quot;poem&quot;

when rendered becomes

div style=&quot;font-variant: small-caps&quot;

Is that deliberate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61902</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2011-12-21 20:52:12 +0000</bug_when>
    <thetext>Good catch! http://dvcs.w3.org/hg/webcomponents/rev/06d6e47f2848</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62023</commentid>
    <comment_count>2</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2011-12-26 02:10:08 +0000</bug_when>
    <thetext>It was deliberate. The reason is that decorators specify a rendering, not markup per-se. So I was trying to use DOM as a way to specify rendering, hence the note about &quot;not including UA stylesheets.&quot; But maybe that is too subtle.

Maybe the example should include an image of what is produced, perhaps with rectangles highlighting which boxes are contributed by the document and which are contributed by the decorator.

I think it is good pedagogy to reinforce the notion that decorators don’t produce DOM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62243</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-01-03 17:38:32 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; It was deliberate. The reason is that decorators specify a rendering, not
&gt; markup per-se. So I was trying to use DOM as a way to specify rendering, hence
&gt; the note about &quot;not including UA stylesheets.&quot; But maybe that is too subtle.

Interesting. But even from CSS perspective, the class name is still there, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62288</commentid>
    <comment_count>4</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2012-01-05 02:27:31 +0000</bug_when>
    <thetext>I guess the class name is still &quot;there&quot;, but think of it more as a reftest expected result. Maybe it should be replaced with a diagram and not markup. Or we could invent textual syntax for rendered blocks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62290</commentid>
    <comment_count>5</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-01-05 04:05:59 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; I guess the class name is still &quot;there&quot;, but think of it more as a reftest
&gt; expected result. Maybe it should be replaced with a diagram and not markup. Or
&gt; we could invent textual syntax for rendered blocks.

Sounds good. Can you file a bug? I&apos;ll fix up next time I sweep up explainer bugs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88350</commentid>
    <comment_count>6</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-05-29 02:17:19 +0000</bug_when>
    <thetext>I look at this again and I think it is fine as-is.

I removed the note about omitting user agent styles, since they are obviously implied by &quot;as if it was this markup&quot; &lt;https://dvcs.w3.org/hg/webcomponents/rev/9cb2dca32e6b&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>