Closed Bug 302454 Opened 19 years ago Closed 19 years ago

CSS hidden elements are selectable

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

VERIFIED DUPLICATE of bug 39098

People

(Reporter: shalstvedt, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Text specified to be hidden in CSS using visibility:hidden does not appear on the page, but if the entire page is selected (ctrl+a), or if the place where the text is is drag-selected, the right-click menu shows that the actual text is selected. Reproducible: Always Steps to Reproduce: 1. Create a CSS document including: #hidden { visibility:hidden; } 2. Include the CSS document into a new HTML file, with this in the <body>: <div id="hidden">Text here</div> 3. Try to drag-select/ctrl+a, and then right click. Actual Results: The menu has 'Search the web for "Text here"', and other selection-specific options. Expected Results: The menu has the default right-click options.
Related to Core bug 39098/Core bug 201844?
*** This bug has been marked as a duplicate of 39098 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.