<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20053</bug_id>
          
          <creation_ts>2012-11-23 09:13:14 +0000</creation_ts>
          <short_desc>&quot;In quirks mode and almost standards mode, an in...&quot;</short_desc>
          <delta_ts>2013-03-01 13:39:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>Quirks Mode</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>sideshowbarker+quirksspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78681</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-11-23 09:13:14 +0000</bug_when>
    <thetext>http://quirks.spec.whatwg.org/#the-line-height-calculation-quirk

[[
In quirks mode and almost standards mode, an inline box that matches the following conditions, must, for the purpose of line height calculation, act as if the box had a height of zero.
]]

On Fri, 23 Nov 2012 03:21:39 +0100, Kang-Hao (Kenny) Lu &lt;kanghaol@oupeng.com&gt; wrote:
&gt; I think you meant to say &quot;the box had a &apos;line-height&apos; of zero&quot; instead,
&gt; as the content height of an inline box never affects the line height,
&gt; the &quot;line-height box&quot; does. This is what CSS 2.1 10.8 says
&gt;
&gt;   # The height of each inline-level box in the line box is calculated.
&gt;   # For replaced elements, inline-block elements, and inline-table
&gt;   # elements, this is the height of their margin box; for inline boxes,
&gt;   # this is their &apos;line-height&apos;. (See &quot;Calculating heights and margins&quot;
&gt;   # and the height of inline boxes in &quot;Leading and half-leading&quot;.)
&gt;
&gt; (What &apos;window.getComputedStyle&apos; would return for &apos;height&apos; is sort of a
&gt; parallel, although also interesting, question.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83867</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-03-01 13:39:08 +0000</bug_when>
    <thetext>https://github.com/whatwg/quirks/commit/786d099a124c855d669673c2fb00ae1e3691a532</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>