Amaya formatting demo

i have included a small demo showing miscalculation
of content width when text-indent property used
//

<?xml version="1.1" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head><title>Content Edges:VE3LL@RAC.CA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<style type="text/css">
body {margin:20px;border:1px solid red;padding:5px}
.in {text-indent:40px}
</style></head><body>
<h1>Content Indent:VE3LL@RAC.CA</h1>
<p class="in">This is an indented paragraph. The wrap point should be
calculated correctly at the content edge (ie within the red border).
This is not always true in Amaya.</p>
<p>This is an unstyled paragraph. The wrap point is calculated correctly
at the content edge (ie within the red border).</p>
<p>It appears as if measures added with text-indent are not being
used in the calculation of content edge width.</p>
</body></html>

-- 
-- 
John Russell, VE3LL@COGECO.CA
http://home.cogeco.ca/~ve3ll
http://home.cogeco.ca/~trains
http://home.cogeco.ca/~cipher

Received on Tuesday, 18 August 2009 15:42:31 UTC