Re: [webkit-dev] Selection model is broken

2012-01-05 Thread Ojan Vafai
Sorry, that was too terse, https://bugs.webkit.org/show_bug.cgi?id=62664 is related in that we also should consider making tabindex order depend on visual ordering. On Thu, Jan 5, 2012 at 7:05 PM, Ojan Vafai wrote: > Another related bug https://bugs.webkit.org/show_bug.cgi?id=62664. > > > On Thu

Re: [webkit-dev] Selection model is broken

2012-01-05 Thread Ojan Vafai
Another related bug https://bugs.webkit.org/show_bug.cgi?id=62664. On Thu, Jan 5, 2012 at 4:30 PM, Ojan Vafai wrote: > On Thu, Jan 5, 2012 at 3:44 PM, Benjamin Poulain wrote: > >> On Thu, Jan 5, 2012 at 3:31 PM, Ojan Vafai wrote: >> > Is this too crazy? Are there other solutions? >> >> I also d

Re: [webkit-dev] Selection model is broken

2012-01-05 Thread Ojan Vafai
On Thu, Jan 5, 2012 at 3:44 PM, Benjamin Poulain wrote: > On Thu, Jan 5, 2012 at 3:31 PM, Ojan Vafai wrote: > > Is this too crazy? Are there other solutions? > > I also do not like the selection model but I am unsure about your > suggestion. > > If we use the visual model for selection, finding t

Re: [webkit-dev] Selection model is broken

2012-01-05 Thread Ryosuke Niwa
On Thu, Jan 5, 2012 at 4:03 PM, Ojan Vafai wrote: > On Thu, Jan 5, 2012 at 3:47 PM, Ryosuke Niwa wrote: > >> On Thu, Jan 5, 2012 at 3:31 PM, Ojan Vafai wrote: >> >>> Selections on the web are document ordered (i.e. all the DOM between two >>> points). So, any CSS that puts elements out of docum

Re: [webkit-dev] Selection model is broken

2012-01-05 Thread Ojan Vafai
On Thu, Jan 5, 2012 at 3:47 PM, Ryosuke Niwa wrote: > On Thu, Jan 5, 2012 at 3:31 PM, Ojan Vafai wrote: > >> Selections on the web are document ordered (i.e. all the DOM between two >> points). So, any CSS that puts elements out of document order gives a >> crappy selection to the user. >> >> fo

Re: [webkit-dev] Selection model is broken

2012-01-05 Thread Ryosuke Niwa
On Thu, Jan 5, 2012 at 3:31 PM, Ojan Vafai wrote: > Selections on the web are document ordered (i.e. all the DOM between two > points). So, any CSS that puts elements out of document order gives a > crappy selection to the user. > > foo style="position:absolute;left:-100px">barbaz. > > If you sel

Re: [webkit-dev] Selection model is broken

2012-01-05 Thread Benjamin Poulain
On Thu, Jan 5, 2012 at 3:31 PM, Ojan Vafai wrote: > Is this too crazy? Are there other solutions? I also do not like the selection model but I am unsure about your suggestion. If we use the visual model for selection, finding the order of the content would get tricky (because the selected conten

[webkit-dev] Selection model is broken

2012-01-05 Thread Ojan Vafai
Selections on the web are document ordered (i.e. all the DOM between two points). So, any CSS that puts elements out of document order gives a crappy selection to the user. foobarbaz. If you select "foobaz", clearly no user would expect "bar" to get selected. The same problem arises with floats,