<?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>49559</bug_id>
          
          <creation_ts>2010-11-15 13:08:42 -0800</creation_ts>
          <short_desc>DOMWindow.getComputedStyle pseudo element argument lacks ConvertUndefinedOrNullToNullString</short_desc>
          <delta_ts>2010-11-15 13:52:38 -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>528+ (Nightly build)</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>Trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>darin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>309402</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-11-15 13:08:42 -0800</bug_when>
    <thetext>Per MDC, it &quot;must be null (or not specified) for regular elements.&quot;

As far as I can tell, this makes no difference in practice, because &quot;null&quot; and &quot;undefined&quot; are not pseudo element names, and don&apos;t even start with &quot;:&quot;. But it seems cleaner not to pass them to DOM code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309404</commentid>
    <comment_count>1</comment_count>
      <attachid>73924</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-11-15 13:11:01 -0800</bug_when>
    <thetext>Created attachment 73924
proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309409</commentid>
    <comment_count>2</comment_count>
      <attachid>73924</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-11-15 13:13:52 -0800</bug_when>
    <thetext>Comment on attachment 73924
proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=73924&amp;action=review

&gt; WebCore/ChangeLog:8
&gt; +        No observable change in behavior, so no tests.

Why do this if there is no observable change in behavior?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309411</commentid>
    <comment_count>3</comment_count>
      <attachid>73924</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-11-15 13:14:44 -0800</bug_when>
    <thetext>Comment on attachment 73924
proposed patch

Maybe we can change the default some day. I can’t remember how this relates to the similar properties in WebIDL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309416</commentid>
    <comment_count>4</comment_count>
      <attachid>73924</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-11-15 13:20:55 -0800</bug_when>
    <thetext>Comment on attachment 73924
proposed patch

Well, basically it&apos;s just that I was surprised and confused to see &quot;null&quot; and &quot;undefined&quot; passed to DOM code when debugging.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309435</commentid>
    <comment_count>5</comment_count>
      <attachid>73924</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-15 13:52:33 -0800</bug_when>
    <thetext>Comment on attachment 73924
proposed patch

Clearing flags on attachment: 73924

Committed r72036: &lt;http://trac.webkit.org/changeset/72036&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309436</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-15 13:52:38 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>73924</attachid>
            <date>2010-11-15 13:11:01 -0800</date>
            <delta_ts>2010-11-15 13:52:33 -0800</delta_ts>
            <desc>proposed patch</desc>
            <filename>UndefinedPseudoElement.txt</filename>
            <type>text/plain</type>
            <size>1279</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3MjAyNSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMTAtMTEtMTUgIEFsZXhleSBQcm9za3VyeWFrb3YgIDxhcEBhcHBs
ZS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTQ5NTU5CisgICAgICAgIERP
TVdpbmRvdy5nZXRDb21wdXRlZFN0eWxlIHBzZXVkbyBlbGVtZW50IGFyZ3VtZW50IGxhY2tzIENv
bnZlcnRVbmRlZmluZWRPck51bGxUb051bGxTdHJpbmcKKworICAgICAgICBObyBvYnNlcnZhYmxl
IGNoYW5nZSBpbiBiZWhhdmlvciwgc28gbm8gdGVzdHMuCisKKyAgICAgICAgKiBwYWdlL0RPTVdp
bmRvdy5pZGw6IEFkZGVkIENvbnZlcnRVbmRlZmluZWRPck51bGxUb051bGxTdHJpbmcuCisKIDIw
MTAtMTEtMTUgIFZhbmdlbGlzIEtva2tldmlzICA8dmFuZ2VsaXNAY2hyb21pdW0ub3JnPgogCiAg
ICAgICAgIFJldmlld2VkIGJ5IEtlbm5ldGggUnVzc2VsbC4KSW5kZXg6IFdlYkNvcmUvcGFnZS9E
T01XaW5kb3cuaWRsCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvcGFnZS9ET01XaW5kb3cuaWRsCShy
ZXZpc2lvbiA3MTkzNCkKKysrIFdlYkNvcmUvcGFnZS9ET01XaW5kb3cuaWRsCSh3b3JraW5nIGNv
cHkpCkBAIC0xNDQsNyArMTQ0LDcgQEAgbW9kdWxlIHdpbmRvdyB7CiAKICAgICAgICAgLy8gRE9N
IExldmVsIDIgU3R5bGUgSW50ZXJmYWNlCiAgICAgICAgIENTU1N0eWxlRGVjbGFyYXRpb24gZ2V0
Q29tcHV0ZWRTdHlsZShpbiBFbGVtZW50IGVsZW1lbnQsCi0gICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICBpbiBET01TdHJpbmcgcHNldWRvRWxlbWVudCk7CisgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpbiBbQ29udmVydFVuZGVm
aW5lZE9yTnVsbFRvTnVsbFN0cmluZ10gRE9NU3RyaW5nIHBzZXVkb0VsZW1lbnQpOwogCiAgICAg
ICAgIC8vIFdlYktpdCBleHRlbnNpb25zCiAjaWYgZGVmaW5lZChMQU5HVUFHRV9KQVZBU0NSSVBU
KSAmJiBMQU5HVUFHRV9KQVZBU0NSSVBUCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>