Re: Inline boxes created by <strong> or <b> are not handled the same by browsers (c13-inheritance-000)

On Tuesday 2011-12-13 16:54 -0800, "Gérard Talbot" wrote:
> Hello,
> 
> While trying to make a reftest for
> 
> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c13-inheritance-000.htm
> 
> I noticed that inline boxes created by <strong> elements are not handled
> exactly the same by all browsers and there is no rule or specification
> on that.
> 
> Firefox 8.0, Opera 11.60, Konqueror 4.7.3 will make give such inline box
> a height of 20px while Chrome 16.0.912.63 will give such inline a height
> of 19px. Such inline box then affect line box height of container
> differently for the respective browsers.

This depends on the metrics of the fonts chosen (since the bold font
may have different metrics from the normal weight font) and on how
the browser interprets 'line-height: normal'.

However, when making a reference, if the reference uses the same
weight as the test, things should be fine.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂

Received on Wednesday, 14 December 2011 01:07:57 UTC