<?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>77427</bug_id>
          
          <creation_ts>2012-01-31 05:24:17 -0800</creation_ts>
          <short_desc>Style declaration objects expose properties whose names are CSS property names</short_desc>
          <delta_ts>2022-07-12 16:32:38 -0700</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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Boris Zbarsky">bzbarsky</reporter>
          <assigned_to name="Tom Zakrajsek">tomz</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>dbates</cc>
    
    <cc>hyatt</cc>
    
    <cc>tomz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>545965</commentid>
    <comment_count>0</comment_count>
      <attachid>124711</attachid>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-01-31 05:24:17 -0800</bug_when>
    <thetext>Created attachment 124711
Testcase showing bizarre WebKit behavior

Per spec, a style declaration object should have a property called &quot;fontSize&quot;.  WebKit has that, but it _also_ has a property called &quot;font-size&quot; which is not described in the spec and is not implemented in any other browsers.

Some sites are using these properties to lock out non-WebKit UAs now.

These properties should be either standardized or removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>567730</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2012-02-29 10:51:26 -0800</bug_when>
    <thetext>Does IE also support these? I think that might have been the original motivation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>567742</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Zakrajsek">tomz</who>
    <bug_when>2012-02-29 10:58:23 -0800</bug_when>
    <thetext>Yes.  IE does, but FF and Opera do not.  You&apos;re probably right about that being the motivation.  The primary issue is whether or not this is used in the real world.  If not, I&apos;d rather remove it than push for spec change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>567761</commentid>
    <comment_count>3</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-02-29 11:16:26 -0800</bug_when>
    <thetext>See thread starting http://lists.w3.org/Archives/Public/www-style/2012Feb/0655.html btw.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882735</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-12 16:32:38 -0700</bug_when>
    <thetext>It looks like all browsers handle this test case the same way.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>124711</attachid>
            <date>2012-01-31 05:24:17 -0800</date>
            <delta_ts>2012-01-31 05:24:17 -0800</delta_ts>
            <desc>Testcase showing bizarre WebKit behavior</desc>
            <filename>baz.html</filename>
            <type>text/html</type>
            <size>139</size>
            <attacher name="Boris Zbarsky">bzbarsky</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+Cjxib2R5PgogIFRoaXMgdGV4dCBzaG91bGQgbm90IGJlIDEwMHB4IHRh
bGwKICA8c2NyaXB0PgogICAgZG9jdW1lbnQuYm9keS5zdHlsZVsiZm9udC1zaXplIl0gPSAiMTAw
cHgiOwogIDwvc2NyaXB0Pgo8L2JvZHk+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>