W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: [css3-multicol] vertical margins rendering in nested multi-columns

From: Morten Stenshorne <mstensho@opera.com>
Date: Mon, 12 Aug 2013 11:00:33 +0200
To: www-style@gtalbot.org
Cc: "www-style mailing list" <www-style@w3.org>
Message-ID: <874navb7wu.fsf@aeneas.oslo.osa>
"GĂ©rard Talbot" <www-style@gtalbot.org> writes:

> [test]
> http://www.gtalbot.org/BrowserBugsSection/CSS3Multi-Columns/Opera/multicol-nested-margin-002-GT.xht
>
> [reftest]
> http://www.gtalbot.org/BrowserBugsSection/CSS3Multi-Columns/Opera/multicol-nested-margin-002-GT-ref.xht
>
> Is the reftest for this test correct?

No, it's not correct.

> Am I missing something?

The inner multicol is preceded by a soft column break, so the top margin
is dropped.

http://www.w3.org/TR/CSS2/page.html#allowed-page-breaks

   "When an unforced page break occurs here, the used values of the
    relevant 'margin-top' and 'margin-bottom' properties are set to
    '0'."

-- 
---- Morten Stenshorne, developer, Opera Software ASA ----
------------------ http://www.opera.com/ -----------------
Received on Monday, 12 August 2013 09:00:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:33 UTC