<?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>7155</bug_id>
          
          <creation_ts>2006-02-09 06:28:30 -0800</creation_ts>
          <short_desc>TinyMCE: Selection lost when clicking on &lt;select&gt; element.</short_desc>
          <delta_ts>2008-02-29 16:51:56 -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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://tinymce.moxiecode.com</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P3</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>6627</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Moxiecode Systems">spam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ian</cc>
    
    <cc>lweintraub</cc>
    
    <cc>mozillabug321</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31943</commentid>
    <comment_count>0</comment_count>
    <who name="Moxiecode Systems">spam</who>
    <bug_when>2006-02-09 06:28:30 -0800</bug_when>
    <thetext>Expected Results: 
When a selection is made and the &lt;select&gt; element activated (to show dropdown) the selection should remain, just as when you do something with a popup window.

What I got: Selection is lost instead of &quot;grayed&quot; out like when a popup is made.

Steps to reproduce:

1) Go to http://tinymce.moxiecode.com/example.php?example=true
2) Select some text, click on one of the dropdowns for selecting font/fontsize etc.
3) The selection is lost.

Try the same thing but with clicking on the color selector for a popup or similar, selection is left in the background but grayed out.

You should probably construct your own testcase, since the current version has some workarounds implemented for this (for older Safari versions).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32022</commentid>
    <comment_count>1</comment_count>
    <who name="Aldo Hoeben">aldo</who>
    <bug_when>2006-02-10 04:55:38 -0800</bug_when>
    <thetext>See http://hoeben.net/files/webkit/repro7155.html for a simple repro document.

Selection in the contenteditable div is cleared when touching the &lt;select&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32464</commentid>
    <comment_count>2</comment_count>
      <attachid>6481</attachid>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-02-14 04:13:04 -0800</bug_when>
    <thetext>Created attachment 6481
Testcase

Added Aldo&apos;s testcase to the bug itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52454</commentid>
    <comment_count>3</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2006-08-12 22:53:29 -0700</bug_when>
    <thetext>Seems to work with dev versions of TinyMCE, for example http://tinymce.moxiecode.com/test/examples/example_full.htm
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3263</commentid>
    <comment_count>4</comment_count>
    <who name="Ted Rust">ted</who>
    <bug_when>2007-07-31 23:26:44 -0700</bug_when>
    <thetext>Tested with Safari 3.0.3 on OS X.  This is still a valid bug.  However, I did notice something interesting in the details.  The first time you click on any given drop down menu, the selection is eradicated.  However, any subsequent clicks on that same menu, the selection is sustained.  I do not know if this was the case prior to 3.0.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70118</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-02-10 13:03:14 -0800</bug_when>
    <thetext>I&apos;ve tested the test case in Webkit r30119 and I don&apos;t see buggy behavior. Is it fixed? Any confirmations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72407</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-02-29 16:51:56 -0800</bug_when>
    <thetext>The behaviour of TOT on the attached test case matches that of Firefox 2.  Firefox 3 appears to have regressed and exhibits similar behaviour to that attributed to WebKit in the original report.

Closing as FIXED as we now match the reporter&apos;s expectations.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>6481</attachid>
            <date>2006-02-14 04:13:04 -0800</date>
            <delta_ts>2006-02-14 04:13:04 -0800</delta_ts>
            <desc>Testcase</desc>
            <filename>Webkit bugzilla repro movie- #7155.html</filename>
            <type>text/html</type>
            <size>625</size>
            <attacher name="Joost de Valk (AlthA)">joost</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
L0VOIj4KPEhUTUw+CjxIRUFEPgo8VElUTEU+IFdlYmtpdCBidWd6aWxsYSByZXBybyBtb3ZpZTog
IzcxNTUgPC9USVRMRT4KPE1FVEEgTkFNRT0iQXV0aG9yIiBDT05URU5UPSJBbGRvIEhvZWJlbiI+
CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+CiNlZGl0YWJsZSB7CiAgd2lkdGg6IDQwZW07CiAgaGVp
Z2h0OiAxMGVtOwogIGJvcmRlcjogMXB4IHNvbGlkIGJsYWNrOwp9CjwvU1RZTEU+CjwvSEVBRD4K
CjxCT0RZPgo8UD5SZXBybyBtb3ZpZSBmb3IgYnVnIDxhIGhyZWY9Imh0dHA6Ly9idWd6aWxsYS5v
cGVuZGFyd2luLm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NzE1NSI+IzcxNTU8L2E+PC9QPgoKPGRpdiBp
ZD0iZWRpdGFibGUiIGNvbnRlbnRFZGl0YWJsZT0idHJ1ZSI+CiAgPHA+VGVzdCBjb250ZW50PC9w
Pgo8L2Rpdj4KCjxmb3JtPgo8c2VsZWN0IG5hbWU9InRlc3QiPgo8b3B0aW9uIHZhbHVlPSJ0ZXN0
MSI+MQo8b3B0aW9uIHZhbHVlPSJ0ZXN0MiI+Mgo8b3B0aW9uIHZhbHVlPSJ0ZXN0MyI+Mwo8b3B0
aW9uIHZhbHVlPSJ0ZXN0NCI+NAo8L3NlbGVjdD4KPC9mb3JtPgoKPC9CT0RZPgo8L0hUTUw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>