<?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>55359</bug_id>
          
          <creation_ts>2011-02-28 02:35:53 -0800</creation_ts>
          <short_desc>WebCore::Editor::selectionStartCSSPropertyValue crashes is no font size is supplied</short_desc>
          <delta_ts>2011-02-28 03:12:02 -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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows Vista</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>55290</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Berend-Jan Wever">skylined</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>358947</commentid>
    <comment_count>0</comment_count>
      <attachid>84034</attachid>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2011-02-28 02:35:53 -0800</bug_when>
    <thetext>Created attachment 84034
Repro

Chromium: http://code.google.com/p/chromium/issues/detail?id=74392
Variation of: bug 45068

Repro:
&lt;script&gt;document.queryCommandValue(&quot;FontSize&quot;)&lt;/script&gt;

id:             chrome.dll!WebCore::Editor::selectionStartCSSPropertyValue ReadAV@NULL (07e9b856f4be9e9f44daffbf76cc4066)
description:    Attempt to read from unallocated NULL pointer+0x4 in chrome.dll!WebCore::Editor::selectionStartCSSPropertyValue
stack:          chrome.dll!WebCore::Editor::selectionStartCSSPropertyValue
                chrome.dll!WebCore::valueFontSize
                chrome.dll!WebCore::Editor::Command::value
                chrome.dll!WebCore::Document::queryCommandValue
                chrome.dll!WebCore::DocumentInternal::queryCommandValueCallback
                chrome.dll!v8::internal::HandleApiCallHelper&lt;...&gt;
                chrome.dll!v8::internal::Builtin_HandleApiCall
                chrome.dll!v8::internal::Invoke
                chrome.dll!v8::internal::Execution::Call
                ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>358948</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-02-28 02:41:07 -0800</bug_when>
    <thetext>I think this is a duplicate of https://bugs.webkit.org/show_bug.cgi?id=55290.

*** This bug has been marked as a duplicate of bug 55290 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>358952</commentid>
    <comment_count>2</comment_count>
    <who name="Berend-Jan Wever">skylined</who>
    <bug_when>2011-02-28 03:01:18 -0800</bug_when>
    <thetext>Sorry Ryosuke - I only scanned Chromium bugs for duplicates and didn&apos;t find one. I&apos;ll make sure to scan both issue trackers in the future.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>358958</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-02-28 03:12:02 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Sorry Ryosuke - I only scanned Chromium bugs for duplicates and didn&apos;t find one. I&apos;ll make sure to scan both issue trackers in the future.

Nah, it&apos;s okay.  Thanks a lot for always filing bugs :D.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>84034</attachid>
            <date>2011-02-28 02:35:53 -0800</date>
            <delta_ts>2011-02-28 02:35:53 -0800</delta_ts>
            <desc>Repro</desc>
            <filename>repro.html</filename>
            <type>text/html</type>
            <size>56</size>
            <attacher name="Berend-Jan Wever">skylined</attacher>
            
              <data encoding="base64">PHNjcmlwdD5kb2N1bWVudC5xdWVyeUNvbW1hbmRWYWx1ZSgiRm9udFNpemUiKTwvc2NyaXB0Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>