<?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>29595</bug_id>
          
          <creation_ts>2016-04-25 12:10:13 +0000</creation_ts>
          <short_desc>Clarification of behavior of CSSOM font serialized read value</short_desc>
          <delta_ts>2016-04-25 15:11:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Fonts</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominik Röttsches">drott</reporter>
          <assigned_to name="John Daggett">jdaggett</assigned_to>
          <cc>fantasai.bugs</cc>
    
    <cc>jackalmage</cc>
    
    <cc>kojiishi</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>126080</commentid>
    <comment_count>0</comment_count>
    <who name="Dominik Röttsches">drott</who>
    <bug_when>2016-04-25 12:10:13 +0000</bug_when>
    <thetext>The font: shorthand allows setting only the CSS21 font-variant properties and small-caps. However, overriding alternative values may be specified in font-variant-caps:, such as all-small-caps, petite-caps, etc.

What should be the serialized read return value when the CSSOM property style.font is accessed and values other than &quot;small-caps&quot; and &quot;normal&quot; are specified in the sub-property?

Should the value be left out, or should normal be returned for the font-variant-css21 component of the font property?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126082</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2016-04-25 15:11:19 +0000</bug_when>
    <thetext>Per &lt;https://drafts.csswg.org/cssom/#serialize-a-css-value&gt;, if you can&apos;t represent the value of all the longhands that map to a shorthand, you serialize as the empty string.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>