Bug 26412 - Text in reflection object is selected when the original object text is selected
Summary: Text in reflection object is selected when the original object text is selected
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-15 13:18 PDT by Jeremy Young
Modified: 2014-04-03 10:59 PDT (History)
2 users (show)

See Also:


Attachments
A simple HTMl file that will illustrate the inadvertent text selection in a reflection. (3.82 KB, text/html)
2009-06-16 06:47 PDT, Jeremy Young
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Young 2009-06-15 13:18:49 PDT
STEPS TO REPLICATE:
1. Create a div and place some text in it (A)

2. Add a reflection (B)

-webkit-box-reflect:below 10px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.5, transparent), to(white));

3. Select the text in the original object (A).

RESULT:
Test in the reflection object (B) is selected when the original (A) text is selected. If the viewport of the document does not contain the entire reflection, this ALSO makes the browser jump to the lowest bounds of the selected text.

EXPECTED:
Test in the reflected image should NOT be selected when the origin object text is selected. It is my understanding of the specification that the reflection object can not be interacted with.

I have found this in the release version of Safari 4.0: Version 4.0 (5530.17)
Comment 1 Mark Rowe (bdash) 2009-06-15 14:07:41 PDT
Can you please attach a test case to the bug demonstrating the problem that you're seeing?
Comment 2 Jeremy Young 2009-06-16 06:47:05 PDT
Created attachment 31347 [details]
A simple HTMl file that will illustrate the inadvertent text selection in a reflection.

Selecting the text in the original object will select the text in the reflection object. I believe this is a bug. If you have the debug window open at the same time, this can also cause your window to jump to the lowest bounds of the viewable selected text in the reflection. I did not notice this latter effect on regular small-viewport windows, however.
Comment 3 Sam Weinig 2009-08-26 06:44:26 PDT
I don't think this is a bug.  The selection is of the original text, and should be reflected like any other effect and as would happen with a mirror.
Comment 4 Nathan Hammond 2009-08-26 14:04:32 PDT
A few things, as a website developer:

1. I consider reflection to be purely presentational. As with all presentation-only functionality, the main desire is simply the ability to control the visual output. This does not exist currently.

2. Reflection of a selection is a large visual distraction (buzzword: accessibility).

3. On a more personal note, this is not the functionality that I desire in the demonstration of this feature I am building.

So, this may not be a bug, but at the very least it should be considered for inclusion as an enhancement request.
Comment 5 Nathan Hammond 2014-04-03 10:59:08 PDT
Still exists. No activity for nearly five years.