Closed Bug 773314 Opened 12 years ago Closed 12 years ago

Parent Element's Font-size of 0 prevents children from being scrollable via mousewheel

Categories

(Firefox :: Untriaged, defect)

15 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 422132

People

(Reporter: globexdesigns, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120712 Firefox/15.0a2
Build ID: 20120712042007

Steps to reproduce:

When an element has a font-size of 0, any children elements inside it which have font-size set to inherit will not be scrollable via the mousewheel.

Here is a test case: http://jsfiddle.net/PqYpd/

If JsFiddle doesn't work, here is the code to reproduce the issue:

<span style="font-size:0">
    <ul style="height:80px;overflow:auto;">
        <li>One</li>
        <li>Two</li>
        <li>Three</li>
        <li>Four</li>
        <li>Five</li>
        <li>Six</li>
        <li>Seven</li>
        <li>Eight</li>
        <li>Nine</li>
        <li>Ten</li>
    </ul>
</span>


Actual results:

Mousewheel did not scroll the <ul> container.


Expected results:

Mousewheel should scroll the <ul> container.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.