NEW 26634
focus border clipped with floated content at end of editable div with overflow:visible
https://bugs.webkit.org/show_bug.cgi?id=26634
Summary focus border clipped with floated content at end of editable div with overflo...
Ojan Vafai
Reported 2009-06-22 17:48:38 PDT
Attaching a test case.
Attachments
test case with improperly clipped focus rect (151 bytes, text/html)
2009-06-22 17:50 PDT, Ojan Vafai
no flags
Ojan Vafai
Comment 1 2009-06-22 17:50:37 PDT
Created attachment 31695 [details] test case with improperly clipped focus rect The focus rect gets drawn outside the bounding box of the contentEditable element, but doesn't get invalidated right in some cases. This was one such case. I hit other cases with a little bit of playing. That said, it's weird to me that we have the focus rect be the overflow content and not the bouding box of the contentEditable element. The latter seems easier to implement and less weird to users.
Ahmad Saleem
Comment 2 2022-12-30 16:13:45 PST
In the attached testcase, while using Safari 16.2 & STP160, the focus ring do extend to outside of container to "2", which is same as Chrome Canary 111 while only Firefox Nightly 110 differ from other and don't extend the focus ring around "2" and just keep it to "container" (square). I will tag others to confirm whether we need to track it or close it. Thanks!
Note You need to log in before you can comment on or make changes to this bug.