Closed
Bug 201844
Opened 22 years ago
Closed 19 years ago
(CSS visibility) Invisible layers can be selected by mouse
Categories
(Core :: DOM: Selection, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: w98t, Assigned: mjudge)
References
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
Build Identifier:
Layers set to be invisible in CSS can still be selected by the user if they
press CTRL-A or by using the mouse.
Here:
<div id=test></div>
<script language="JavaScript">
<!--
/* a layer manipulation kit for all standards-compatible browsers by mixu */
var browser_detect = "Microsoft";
if(eval("document.getElementById('test')")){
browser_detect = "Mozilla";
}
function layerShow(layername){
if(browser_detect == "Mozilla"){
document.getElementById(layername).style.visibility='visible';
}
}
function wrSupported(line){
if(browser_detect == "Mozilla"){
document.write(line);
}
}
</script>
[....]
<div onMouseOver="layerShow('menu1');" onMouseOut="layerHide('menu1');">
a menu should come here...
<script language=JavaScript>
<!--
// only write a layer if this browser supports standards.
wrSupported('<div ID=menu1 style="position:absolute; visibility: hidden; z-
index: 100; background-color: black; width: 200px;">bla bla bla');
wrSupported('</div>');
//-->
</script>
</div>
Reproducible: Always
Steps to Reproduce:
1. Use the code specified above
2. Select using the mouse or CTRL+A (select all)
Actual Results:
The hidden layer showsh up as a blue selection, no text shows there, though.
Expected Results:
The hidden layer should have been unselectable.
Comment 1•22 years ago
|
||
Can you please attach a clickable and working testcase with
"create new attachment" ?
Comment 2•22 years ago
|
||
Selection.
Assignee: dom_bugs → mjudge
Component: DOM Style → Selection
QA Contact: ian → pmac
*** Bug 256059 has been marked as a duplicate of this bug. ***
Comment 6•19 years ago
|
||
This is an automated message, with ID "auto-resolve01".
This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.
While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.
If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.
The latest beta releases can be obtained from:
Firefox: http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 7•19 years ago
|
||
The testcase is WORKSFORME with current trunk build.
Comment 8•19 years ago
|
||
*** Bug 317170 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•