<?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>29594</bug_id>
          
          <creation_ts>2016-04-25 12:01:42 +0000</creation_ts>
          <short_desc>Clarification of font-variant-ligatures CSSOM serialized read values</short_desc>
          <delta_ts>2016-04-25 15:20:43 +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>NEW</bug_status>
          <resolution></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>126079</commentid>
    <comment_count>0</comment_count>
    <who name="Dominik Röttsches">drott</who>
    <bug_when>2016-04-25 12:01:42 +0000</bug_when>
    <thetext>The CSSOM describes the CSS wide serialization steps, including the serialization of shorthand properties.

https://drafts.csswg.org/cssom/#serialize-a-css-value

In it:

&quot;To serialize a CSS component value depends on the component, as follows:&quot;

This list does not contain any font, or font variant specific rules, so it seems like we are missing a clarification for what should be the canonical serialization of font-variant-ligatures.

When writing to the fontVariantLigatures style property, or when specifying a font-variant-ligatures style attribute in a CSS style declaration, and specifying &quot;none&quot; as the value, the serialization for the read value could be either 
* &quot;none&quot; or 
* &quot;no-common-ligatures no-discretionary-ligatures no-historical-ligatures no-contextual&quot;.

Which should be the canonical serialized value? How can we incorporate this clarification into the spec? Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126083</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2016-04-25 15:20:43 +0000</bug_when>
    <thetext>The general (sadly, unstated) rule is to prefer shorter representations when possible.  Nobody&apos;s taken the time to go thru implementations and document the exceptions to that policy (and figure out if they can be changed), so we haven&apos;t specced it normatively.

But the point stands - definitely prefer &quot;none&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>