W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

Re: [CSS] Bottom border not rendered

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Wed, 4 Oct 2006 12:40:24 +0200
To: Stanimir Stamenkov <stanio@myrealbox.com>
Cc: www-amaya@w3.org
Message-Id: <200610041240.24327.vatton@inrialpes.fr>

On Monday 02 October 2006 13:35, Stanimir Stamenkov wrote:
> /Irene Vatton/:
> > On Thursday 21 September 2006 11:10, Stanimir Stamenkov wrote:
> >> Amaya 9.52: The bottom border of an element (e.g. DIV) is not
> >> rendered if there's such CSS rule specified:
> >>
> >> div hr { display: none }
> >>
> >> The effect is visible no matter the DIV contains HR or not (see the
> >> attached example).
> >
> > It seems that amaya has a problem with multi-valuated class attributes
> > like <div class="test t1">
>
> I also see the problem with a single class name but then it appears
> only if <hr> element is present at the end of the parent element
> content (see the attached "bottom_border.html").

Yes, the multi-valuated class attribute and the display: none disturbed Amaya.
It's fixed now.

> As a side note I find when the <hr> element has |display: none|
> applied the inline content around it is not "concatenated", but
> split into different blocks (see the last two "No header" blocks:
> "No" and "header" appear on different lines).

I did that too, but there is another problem:
Amaya doesn't replace the undisplayed element by a space.
By example
<div class="test">
 foo<p class="hr"></p>bar
</div>
is now displayed as "foobar"

-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Wednesday, 4 October 2006 10:41:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:52 UTC