Closed
Bug 381571
Opened 18 years ago
Closed 16 years ago
SPAN reduces the link area of a link with given width to the text area
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: schnabel.daniel, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
569 bytes,
text/html
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
If you put a link inside SPAN-tags and assign the width:150px to the link, only the text is clickable. The space behind the text is no link area, although it belongs to the link.
But if you put the link into DIVs that are inside the SPANs the complete link box is clickable.
Please see the attachment for an example.
Reproducible: Always
Steps to Reproduce:
Code:
<span>
<a href="" style="border-style:solid;display:-moz-inline-box;border-width:1px;width:150px">Testbutton</a>
</span>
Actual Results:
space area behind the text is not clickable
Expected Results:
space area behind the text is clickable
Reporter | ||
Comment 1•18 years ago
|
||
Updated•18 years ago
|
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch
Comment 2•18 years ago
|
||
FWIW this testcase looks and behaves differently between branch and trunk.
(In reply to comment #2)
> FWIW this testcase looks and behaves differently between branch and trunk.
Can't confirm this statement, both look the same.
Firefox 3 and higher also work as expected.
Anyway: Daniel, I think you tried to emulate inline-block, which has been implemented in Firefox 3? -moz-inline-block would've been better then.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•