Closed
Bug 277052
Opened 20 years ago
Closed 20 years ago
padding option in <span can make elements unclickable
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: daneel, Unassigned)
References
()
Details
The following code creates a link which cannot be clicked: <a href="http://www.mozilla.org/">Mozilla website (click me)</a> <br> <span style="padding: 300px 0px 0px 300px"></span> The span probably gets assigned space it should not get - and "overlays" the link above it. Quite a working way to really block "right click image savers". Just like embedding an image or some text using a :before or :after CSS rule which makes the inserted text/image unselectable.
Comment 1•20 years ago
|
||
This is one of those times when the bugzilla-helper's "Expected results" is really quite handy: what do you want? An artificial z-index for all links and images that puts them on top of anything else, no matter what? That seems likely to destroy far more than it helps.
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: firefox.general → core.layout
Version: 1.0 Branch → Trunk
Comment 2•20 years ago
|
||
This is invalid -- the padding should be getting the click events, per CSS spec.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•