W3C home > Mailing lists > Public > public-css-testsuite@w3.org > December 2011

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

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 13 Dec 2011 17:07:22 -0800
To: "Gérard Talbot" <css21testsuite@gtalbot.org>
Cc: Public CSS test suite mailing list <public-css-testsuite@w3.org>
Message-ID: <20111214010722.GA12178@pickering.dbaron.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 14 December 2011 01:08:09 GMT