Closed Bug 61470 Opened 24 years ago Closed 23 years ago

Clipped stuff in DIV invisible but selectable, copyable, etc.

Categories

(Core :: Web Painting, defect, P3)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 35274
mozilla0.9

People

(Reporter: mw, Assigned: kmcclusk)

References

Details

Attachments

(1 file)

BuildID:    2000112804

Text is selectable, links are clickable etc. even outside of a clipped area.

Reproducible: Always
Steps to Reproduce:
1. Create a DIV
2. Clip it
3. Select text outside of the clipping (invisible, but still selectable). Copy. 
Paste in your fav text editor.

Actual Results:  Text is pasted.

Expected Results:  Moz should not have selected the text.

I'm marking this major as it will affect all kinds of DHTML scrollers, used on 
lots of sites.
Attached file Testcase
The links being clickable is bug 48611.

This bug should probably be focused on the text still being selectable.
Adjusting summary accordingly.  I see this on Linux build 2000-111-26-21, so OS
-> ALL.

Over to views, and confirming.
Assignee: jst → kmcclusk
Status: UNCONFIRMED → NEW
Component: DOM Level 2 → Views
Ever confirmed: true
OS: Windows NT → All
QA Contact: vidur → petersen
Summary: Clip doesn't clip actual content, just the view of it → Clipped text in DIV invisible but selectable and copyable
Blocks: 48611
Just a note. 48611 should rather be a dup of / depending on this; the real 
problem is that the viewport is clipped, but the actual content is not. 
With "content" being links, text, images or foo. You can, for example, do a 
"view image" or ANY normal image operation on a hidden image. I would like to 
stress that this is, or will be, a high-profile bug when webmasters around the 
world starts modifying their DHTML scrollers for NS6 (which has this bug); 
sometimes rather large areas can be CLIPped, and if the hidden stuff overlap 
other links (this can easily be seen on news sites, etc) things will be really 
messy. I have already seen lots of obvious scroller questions (for example "how 
do I get the height/width of a div", yes, I have asked this question myself) on 
the NGs lately, indicating that ppl are beginning the transition of their code 
to "Moz compatible". This will degrade the perceived quality of Moz/NS6.x in the 
eyes of JS/DHTML coders as it makes lots of DIV stuff impossible to do, with no 
obvious workaround. That is a Very Bad Thing, as Moz is flirting with the web 
developers. Changing description again, and marking 48611 dependent on this one.
No longer blocks: 48611
Summary: Clipped text in DIV invisible but selectable and copyable → Clipped stuff in DIV invisible but selectable, copyable, etc.
Blocks: 48611
Status: NEW → ASSIGNED
I'd say that this is a duplicate of bug 48611 (which is in turn a duplicate of
the earlier bug 35274), since the reason they are selectable, copyable, etc., is
because they are recieving events.
Set milestone to mozilla.1.0
Target Milestone: --- → mozilla1.0
Setting milestone to future, since I am not scheduling anything past 1.9.1 at
this point.
Target Milestone: mozilla1.0 → Future

*** This bug has been marked as a duplicate of 35274 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Target Milestone: Future → mozilla0.9
Status: RESOLVED → VERIFIED
Verifications.  Tests (if necessary) were done with 2001052504 on Windows 2000.

Please forgive the spam.
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: