Thank you, Hussein.

I take it that this bug is in the XXE style sheet engine itself so that trying to overcome this bug by writing a custom CSS style sheet extension will not work. Is that correct?

--Andy

On 8/7/2013 12:10 AM, Hussein Shafie wrote:
On 08/06/2013 06:14 PM, Andy Black wrote:
We have had a request to add a "hanging indent paragraph" element to our
DTD for linguistic documents.  I am having a difficult time figuring out
how to render this paragraph in XXE via CSS.

Trying the following does not work because the negative value for
text-indent is ignored.

hangingIndent
{
     display:block;
/* negative text-indent does not work */
     text-indent:-.25in;
     padding-left: .25in;
     margin: 1.33ex 0;
}

If I use a positive value, then text-indent is applied but that is the
incorrect rendering.

Is there a way to get the CSS to show a hanging indent paragraph?

(We're using version 5.3.0 of XXE.)


There is a bug which causes CSS property text-indent to be ignored when its value was negative. I mean, as if a negative value was not allowed by the CSS standard.

This bug is now fixed in the development version of XXE. The bug fix will be available in the next release of XXE.




--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to