Bug 24751 - Selecting text in element with box-shadow goes too low
: Selecting text in element with box-shadow goes too low
Status: UNCONFIRMED
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: PC Windows Vista
: P2 Normal
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-22 14:21 PDT by Wander
Modified: 2009-03-22 14:41 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wander 2009-03-22 14:21:08 PDT
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 Wander 2009-03-22 14:41:59 PDT
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.