<?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>15384</bug_id>
          
          <creation_ts>2012-01-02 13:06:03 +0000</creation_ts>
          <short_desc>Value assignment on shorthand properties is not well-defined</short_desc>
          <delta_ts>2013-08-08 13:26:37 +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>CSSOM</component>
          <version>unspecified</version>
          <rep_platform>All</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton P">antonsforums</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>glenn</cc>
    
    <cc>kennyluck</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62194</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-02 13:06:03 +0000</bug_when>
    <thetext>Reported by Øyvind Stenhaug

Value assignment on shorthand properties is not well-defined.  For example, some combinations of longhand property values cannot be represented by a value on the corresponding shorthand property:

What is the computed value of &apos;border&apos; given the following computed values of longhand properties?

border-top-style: solid
border-right-style: none
border-bottom-style: none
border-left-style: none

Conversation begins: http://lists.w3.org/Archives/Public/www-style/2011Oct/0473.html

Bug description: http://lists.w3.org/Archives/Public/www-style/2011Oct/0476.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62195</commentid>
    <comment_count>1</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-02 13:09:13 +0000</bug_when>
    <thetext>Gecko apparently doesn&apos;t handle getPropertyValue on computed style for shorthand properties in an ideal manner (cf https://bugzilla.mozilla.org/show_bug.cgi?id=137688 , http://stackoverflow.com/questions/4230022/get-border-value-with-getcomputedstyle-getpropertyvalue-mozilla-ff ) which may be as a result of this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62196</commentid>
    <comment_count>2</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-02 13:13:58 +0000</bug_when>
    <thetext>Related: some implementers think that shorthands should &quot;just work&quot; so that there&apos;s no noticeable affect if a property changes from being a longhand to a shorthand property, unless the value specified is one that can&apos;t be specified in the original (now shorthand) form.  (eg: http://lists.w3.org/Archives/Public/www-style/2010Feb/0104.html )

That does doesn&apos;t solve the hard case described, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62216</commentid>
    <comment_count>3</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-01-02 22:49:14 +0000</bug_when>
    <thetext>Bug 15387 is another example of this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90000</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-06-28 13:44:44 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/csswg/rev/29e1b40f9bb1
https://dvcs.w3.org/hg/csswg/rev/a45add1017ef</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>