Error rendering css text-indent

View: New views
3 Messages — Rating Filter:   Alert me  

Error rendering css text-indent

by Dominique Meeùs-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I commonly use a class="alinea" with first-line indentation as
{text-indent: 30px;}

Amaya indents the first line but does not shorten it accordingly.
Instead, it translates the first line to the right (somewhat as a SVG
transform translate). As a result, the line is longer than the body (I
mean: you get an horizontal scroll bar, which is absurd in a page where
nothing has a fixed width).

I have given my blockquote left and right borders through css. If I use
class alinea inside a blockquote, the first line goes through the right
border of the containing block blockquote.

You may see this on http://www.d-meeus.be/marxisme/classiques/lME.html.
Firefox displays it correctly.









Re: Error rendering css text-indent

by Vatton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le lundi 31 août 2009 à 09:24 +0000, Dominique Meeùs a écrit :
> I commonly use a class="alinea" with first-line indentation as
> {text-indent: 30px;}
>
> Amaya indents the first line but does not shorten it accordingly.
> Instead, it translates the first line to the right (somewhat as a SVG
> transform translate). As a result, the line is longer than the body (I
> mean: you get an horizontal scroll bar, which is absurd in a page where
> nothing has a fixed width).

Yes somebody else reported a bug with the indent.
I'll check and fix the problem asap.

> I have given my blockquote left and right borders through css. If I use
> class alinea inside a blockquote, the first line goes through the right
> border of the containing block blockquote.
>
> You may see this on http://www.d-meeus.be/marxisme/classiques/lME.html.
> Firefox displays it correctly.
>
>
--
Irene Vatton <Irene.Vatton@...>
INRIA



Re: Error rendering css text-indent

by Vatton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le lundi 31 août 2009 à 09:24 +0000, Dominique Meeùs a écrit :
> I commonly use a class="alinea" with first-line indentation as
> {text-indent: 30px;}
>
> Amaya indents the first line but does not shorten it accordingly.
> Instead, it translates the first line to the right (somewhat as a SVG
> transform translate). As a result, the line is longer than the body (I
> mean: you get an horizontal scroll bar, which is absurd in a page where
> nothing has a fixed width).

The bug fix will be available with the next snapshot.

>
> I have given my blockquote left and right borders through css. If I use
> class alinea inside a blockquote, the first line goes through the right
> border of the containing block blockquote.
>
> You may see this on http://www.d-meeus.be/marxisme/classiques/lME.html.
> Firefox displays it correctly.
>
>
--
Irene Vatton <Irene.Vatton@...>
INRIA