[Webkit-unassigned] [Bug 13624] REGRESSION: can select text of an input button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 16 11:50:29 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=13624


Konstantin Shcheglov <scheglov at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scheglov at google.com




--- Comment #5 from Konstantin Shcheglov <scheglov at google.com>  2011-09-16 11:50:29 PST ---
Just for records, for myself or may be for someone else.
I've asked about this in IRC and here is my discussion with <rniwa>.


<rniwa> scheglov: text inside button shouldn't be treated differently
<rniwa> scheglov: it should act like any other text in the document
<rniwa> scheglov: or else, <div contenteditable><button>hello</button></div> won't work properly
<scheglov> rniwa: hm... So, do you have idea what https://bugs.webkit.org/show_bug.cgi?id=13624 means?
<rniwa> scheglov: it's just rendering bug
<rniwa> scheglov: selection isn't rendered properly inside/around button
<scheglov> rniwa: Should be text on button  selected?
<rniwa> scheglov: yes
<scheglov> OK, you told that it should be selected.
<rniwa> scheglov: but when the entire button is selected, text selection shouldn't be doubly-rendered
<rniwa> scheglov: I bet it's some quirk with theme/selection interaction
<scheglov> So, "too much" variant is bug, right?
<rniwa> scheglov: all of them are bug!
<scheglov> rniwa: Oops...
<scheglov> rniwa: I wonder what is correct  rendering.
<scheglov> rniwa: Ah...
<scheglov> rniwa: So, "body" of button should be selected too?
<rniwa> scheglov: yes
<scheglov> rniwa: OK, now I understand. Thank you.
<rniwa> scheglov: but if the entire button is selected, any selection inside the button should NOT be rendered
<rniwa> scheglov: because that'll result in nested-selection rendering
<rniwa> scheglov: on the other hand, it might be hard to render the case where just the button is selected
<scheglov> rniwa: Yes, I see, in other case text is selected twice.
<rniwa> scheglov: because we canonicalize position
<scheglov> rniwa: Well, I don't understand this yet (hard and canonicalize), I need to read source.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list