NEW40752
clicking in the body-elements margin should act like clicking in it's padding
https://bugs.webkit.org/show_bug.cgi?id=40752
Summary clicking in the body-elements margin should act like clicking in it's padding
Ojan Vafai
Reported 2010-06-16 18:27:36 PDT
Created attachment 58950 [details] test case In general, we treat clicking in the margins of an element as not clicking in that element for the purposes of text selection. So clicking in the margin to the left puts the selection at the beginning of that element and clicking in the margin to the right puts the selection at the end of that element. In general, I think that's correct, but the body element is an exception since it's the top-level visible element. It's easier to see this in the attached test case that what we currently do is clearly not what any user would expect.
Attachments
test case (650 bytes, text/html)
2010-06-16 18:27 PDT, Ojan Vafai
no flags
Ryosuke Niwa
Comment 1 2011-08-15 14:18:17 PDT
The current behavior is consistent with Firefox 5, but Internet Explorer treat margins as if they are paddings.
Note You need to log in before you can comment on or make changes to this bug.