<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>13658</bug_id>
          
          <creation_ts>2007-05-10 09:44:06 -0700</creation_ts>
          <short_desc>getPropertyValue on CSSComputedStyleDeclaration should return shorthand values</short_desc>
          <delta_ts>2012-01-10 08:46:09 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>74635</dependson>
    
    <dependson>74743</dependson>
    
    <dependson>75312</dependson>
    
    <dependson>75319</dependson>
    
    <dependson>75347</dependson>
    
    <dependson>75352</dependson>
    
    <dependson>75358</dependson>
    
    <dependson>75434</dependson>
    
    <dependson>75443</dependson>
    
    <dependson>75539</dependson>
    
    <dependson>75630</dependson>
          <blocked>14397</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Timothy Hatcher">timothy</reporter>
          <assigned_to name="Alexis Menard (darktears)">menard</assigned_to>
          <cc>jlukas</cc>
    
    <cc>menard</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10608</commentid>
    <comment_count>0</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2007-05-10 09:44:06 -0700</bug_when>
    <thetext>I have a change to the Web Inspector that smartly groups computed style properties under their short hand name. Except I rely on the engine&apos;s CSSComputedStyleDeclaration to give me a value if I pass it a shorthand name.

Similar to how CSSMutableStyleDeclaration will generate a shorthand value if you pass in a shorthand property name. However, shorthands should not be in the enumerable property list (just like CSSMutableStyleDeclaration).

See attached test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10609</commentid>
    <comment_count>1</comment_count>
      <attachid>14472</attachid>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2007-05-10 09:45:39 -0700</bug_when>
    <thetext>Created attachment 14472
Test case

Note, Firefox doesn&apos;t support this either. However, I don&apos;t think it would cause compatibility problems adding it to WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1408</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-08-26 22:22:45 -0700</bug_when>
    <thetext>*** Bug 7703 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>533106</commentid>
    <comment_count>3</comment_count>
    <who name="Alexis Menard (darktears)">menard</who>
    <bug_when>2012-01-10 08:46:09 -0800</bug_when>
    <thetext>It&apos;s safe to close it. I guess all common shorthand values are correctly return now.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>14472</attachid>
            <date>2007-05-10 09:45:39 -0700</date>
            <delta_ts>2007-05-10 09:45:39 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>computed-shorthand.html</filename>
            <type>text/html</type>
            <size>443</size>
            <attacher name="Timothy Hatcher">timothy</attacher>
            
              <data encoding="base64">PGJvZHk+CjxkaXYgaWQ9InRlc3QiIHN0eWxlPSJiYWNrZ3JvdW5kOiBncmVlbiI+PC9kaXY+Cjxk
aXYgaWQ9InJlc3VsdCI+PC9kaXY+CjxzY3JpcHQ+CnZhciByZXN1bHQgPSBkb2N1bWVudC5nZXRF
bGVtZW50QnlJZCgicmVzdWx0Iik7CnZhciB0ZXN0ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQo
InRlc3QiKTsKdmFyIHN0eWxlID0gZG9jdW1lbnQuZGVmYXVsdFZpZXcuZ2V0Q29tcHV0ZWRTdHls
ZSh0ZXN0LCAiIik7Cgp2YXIgYmcgPSBzdHlsZS5nZXRQcm9wZXJ0eVZhbHVlKCJiYWNrZ3JvdW5k
Iik7CnZhciBiZ0NvbG9yID0gc3R5bGUuZ2V0UHJvcGVydHlWYWx1ZSgiYmFja2dyb3VuZC1jb2xv
ciIpOwpyZXN1bHQuaW5uZXJIVE1MID0gImJhY2tncm91bmQ6ICIgKyBiZyArICI8YnI+YmFja2dy
b3VuZC1jb2xvcjogIiArIGJnQ29sb3I7Cgo8L3NjcmlwdD4KPC9ib2R5Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>