<?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>20089</bug_id>
          
          <creation_ts>2008-07-17 17:20:36 -0700</creation_ts>
          <short_desc>queryCommandState(&apos;underline&apos;) returns false if the selected text is also bold and italic</short_desc>
          <delta_ts>2009-02-17 16:16:52 -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>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11022</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Peek">josh</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>86288</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Peek">josh</who>
    <bug_when>2008-07-17 17:20:36 -0700</bug_when>
    <thetext>If you apply bold, underline, and italic styles to an element, queryCommandState will incorrectly report that the selected text is not underlined.

queryCommandState works fine under all the other combinations of bold, underline, and italic text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86289</commentid>
    <comment_count>1</comment_count>
      <attachid>22355</attachid>
    <who name="Joshua Peek">josh</who>
    <bug_when>2008-07-17 17:23:12 -0700</bug_when>
    <thetext>Created attachment 22355
Demonstrations the underline state bug

Select some text in the edit area and click &quot;Query selected state&quot;. Notice that the underline state is false.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86293</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-07-17 20:12:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/6085306&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110032</commentid>
    <comment_count>3</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2009-02-17 16:16:52 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 11022 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>22355</attachid>
            <date>2008-07-17 17:23:12 -0700</date>
            <delta_ts>2008-07-17 17:23:12 -0700</delta_ts>
            <desc>Demonstrations the underline state bug</desc>
            <filename>underline_state_bug.html</filename>
            <type>text/html</type>
            <size>682</size>
            <attacher name="Joshua Peek">josh</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgogIDxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij4KICAgIGZ1bmN0
aW9uIHF1ZXJ5U3RhdGVzKCkgewogICAgICByZXR1cm4gImJvbGQ6IiArIGRvY3VtZW50LnF1ZXJ5
Q29tbWFuZFN0YXRlKCdib2xkJykgKyAiXG4iICsKICAgICAgICAidW5kZXJsaW5lOiIgKyBkb2N1
bWVudC5xdWVyeUNvbW1hbmRTdGF0ZSgndW5kZXJsaW5lJykgKyAiXG4iICsKICAgICAgICAiaXRh
bGljOiIgKyBkb2N1bWVudC5xdWVyeUNvbW1hbmRTdGF0ZSgnaXRhbGljJyk7CiAgICB9CiAgPC9z
Y3JpcHQ+CjwvaGVhZD4KPGJvZHk+CiAgPGRpdiBjb250ZW50RWRpdGFibGU9InRydWUiPgogICAg
PHNwYW4gY2xhc3M9IkFwcGxlLXN0eWxlLXNwYW4iIHN0eWxlPSJmb250LXdlaWdodDogYm9sZDsi
PjxzcGFuIGNsYXNzPSJBcHBsZS1zdHlsZS1zcGFuIiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiB1
bmRlcmxpbmU7Ij48c3BhbiBjbGFzcz0iQXBwbGUtc3R5bGUtc3BhbiIgc3R5bGU9ImZvbnQtc3R5
bGU6IGl0YWxpYzsiPkJvbGQsIFVuZGVybGluZSwgYW5kIEl0YWxpYyB0ZXh0PC9zcGFuPjwvc3Bh
bj48L3NwYW4+CiAgPC9kaXY+CiAgPHA+PGEgaHJlZj0iIyIgb25jbGljaz0iYWxlcnQocXVlcnlT
dGF0ZXMoKSkiPlF1ZXJ5IHNlbGVjdGVkIHN0YXRlPC9hPjwvcD4KPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>