[Webkit-unassigned] [Bug 15660] Either that line-height: normal is not inheriting from its parent correctly (the LI containing the A has line-height: 29px) or that a font: style should have an implicit line-height: auto (instead of normal)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 12 20:40:41 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=15660


Sudarshan C P <cp.sudarshan at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cp.sudarshan at gmail.com




--- Comment #3 from Sudarshan C P <cp.sudarshan at gmail.com>  2014-01-12 20:38:20 PST ---
Apply all the style property to respective element, behavior of all the browser is same.

<style>
li a:hover{background:gray bottom no-repeat;display:block;height:29px;}
</style>
<div style="line-height:29px;display: block">
    <ul>
          <li style="border:2px solid red;float:left;font:14px arial; width: 100px ; text-align: center;list-style-type:none;"><a href="">tab1</a></li>
          <li style="border:2px solid red; float:left; width: 100px; text-align: center;list-style-type:none;">tab2</li>
          <li style="border:2px solid red;float:left;font:14px arial; width: 100px; text-align: center;list-style-type:none;"><a href="">tab1</a></li>
    </ul>
</div>

IE and FF behavior is not similar when we apply the style as elementary property and by <style>.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list