Bug 24751 - Selecting text in element with box-shadow goes too low
: Selecting text in element with box-shadow goes too low
Status: UNCONFIRMED
: WebKit
CSS
: 528+ (Nightly build)
: PC Windows Vista
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-03-22 14:21 PST by
Modified: 2009-03-22 14:41 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-03-22 14:21:08 PST
Selecting text in a rotated element normally works fine, but as soon as I give it a bigger shadow, selecting the top lines won't work anymore.
In the code below, changing the 30px in 20px fixes the problem.
I get the bug in Safari 4 public beta (webkit 528.16) and Chromium build 12245 (webkit 530.4)

<style>
.a{
    -webkit-box-shadow:10px 10px 30px #000;
    -webkit-transform:rotate(10deg);
    margin:20%;
}
</style>
<div class="a">Just some text<br/>Just some text<br/>Just some text<br/>Just some text</div>
------- Comment #1 From 2009-03-22 14:41:59 PST -------
I think I made an error when trying without rotation earlier, now I see it doesnt have anything to do with the rotating, but only with the shadow.