attachment

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:702173785;
        mso-list-template-ids:-1426413938;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:1102456080;
        mso-list-type:hybrid;
        mso-list-template-ids:-1017068352 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2
        {mso-list-id:1235973896;
        mso-list-template-ids:-1751486460;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Melinda,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This is very helpful.&nbsp; At first blush
I&#8217;m inclined to agree with all your suggestions.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I would like to raise 2 related issues for
discussion by the group:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<ol style='margin-top:0in' start=1 type=1>
 <li class=MsoNormal style='color:navy;mso-list:l1 level1 lfo3'><font size=2
     color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial'>When
     a property and its equivalent attribute are specified, which one
     wins?&nbsp; I don&#8217;t recall seeing this anywhere, but maybe I missed
     it.<o:p></o:p></span></font></li>
</ol>

<p class=MsoNormal style='margin-left:.25in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<ol style='margin-top:0in' start=2 type=1>
 <li class=MsoNormal style='color:navy;mso-list:l1 level1 lfo3'><font size=2
     color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial'>When
     a printer has nonprintable margins, how should we handle them (assuming
     they exceed the applicable page/body margins)? &nbsp;One approach is to
     simply clip the content, but this seems to me to run against the spirit of
     &#8220;content is king&#8221;. &nbsp;Another approach would be to shrink
     to fit so that the inside-the-margins area is shrunk slightly and perhaps
     shifted to fit inside the physically printable area. &nbsp;The algebra is
     a little tricky when we are also shrinking to fit a smaller page size, but
     I think this could be solved.<o:p></o:p></span></font></li>
</ol>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I&#8217;m wondering what people think
about these, and whether we should try to decide them and publish the answer
somewhere. &nbsp;If there is interest in shrink-to-fit for #2, I can write up a
more specific proposal.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Cheers,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Elliott<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> owner-xp@pwg.org
[mailto:owner-xp@pwg.org] <b><span style='font-weight:bold'>On Behalf Of </span></b>Grant,
Melinda<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 20,
2006 4:49 PM<br>
<b><span style='font-weight:bold'>To:</span></b> xp@pwg.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> XP&gt; Margins, borders,
padding, and backgrounds</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>From HP's
perspective (and I think we're not alone), the CSS specification is difficult
to interpret with respect to how margins, borders, padding, and backgrounds
work when applied to the &lt;body&gt; and &lt;html&gt; elements.&nbsp; Recently
we have learned that the CSS3 Paged Media module is not clear on how the same
properties used within an @page context should interact with the html
properties.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>I'd like to
share my new-and-improved understanding based on discussions within the CSS WG:
;-)</span></font><o:p></o:p></p>

</div>

<ul type=disc>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l2 level1 lfo1'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>First,
     there are html attributes and there are css properties.&nbsp; In html, the
     body element has a bgcolor attribute, but the html element does not.&nbsp;
     For XHTML documents, the UA (printer) must convert the body bgcolor
     attribute into an equivalent printer style rule:<br>
     So &lt;body bgcolor=&quot;red&quot;&gt; gets converted into the printer
     stylesheet rule: body {background-color: red}.&nbsp; (This gets a bit more
     complicated for HTML documents, but we don't need to go there.)&nbsp; This
     printer stylesheet rule will be overridden by an author stylesheet rule,
     should one exist.</span></font>&nbsp;<font size=2 color=green
     face="Comic Sans MS"><span style='font-size:10.0pt;font-family:"Comic Sans MS";
     color:green'>See <a
     href="http://www.w3.org/Style/Group/css2-src/cascade.html#q13">http://www.w3.org/Style/Group/css2-src/cascade.html#q13</a>.</span></font>
     <o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l2 level1 lfo1'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>The body
     element is no different when it comes to CSS styling from any other
     element.&nbsp; Backgrounds, margins etc behave just as they do for a div,
     for example.</span></font> <o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l2 level1 lfo1'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>The html
     element is the root element.&nbsp; It can also be selected with
     ':root'.&nbsp; It is special, in that a background is applied to the
     margins as well as the content area.&nbsp; This is because it 'paints the
     canvas', which is infinite.&nbsp; The only way in XHTML to put a
     background in the html margin area and/or the body margin area is to use a
     background on the html element.&nbsp; (See <a
     href="http://www.w3.org/TR/CSS21/colors.html#q2">http://www.w3.org/TR/CSS21/colors.html#q2</a>.)</span></font>
     <o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l2 level1 lfo1'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>The
     attached file, 'margin-both.xhtml' when opened with Firefox, provides an
     example of how html and body edgings should be rendered.</span></font><o:p></o:p></li>
</ul>

<div>

<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>There are
still some open questions about how @page properties work.&nbsp;&nbsp;I am
hoping to publish a new version within the next week or so that will resolve
questions such as the following:&nbsp; [My proposed answers are in brackets.]</span></font><o:p></o:p></p>

</div>

<ul type=disc>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo2'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>Is a font
     property set within an @page rule applied to the page content
     area&nbsp;(unless overridden by properties set on elements rendered on the
     page), or just to the contents of the page margin boxes?</span></font>&nbsp;<font
     size=2 color=green face="Comic Sans MS"><span style='font-size:10.0pt;
     font-family:"Comic Sans MS";color:green'> [Proposed Answer: Just to the
     margin boxes.]</span></font> <o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo2'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>Do the
     html and page margins collapse?</span></font>&nbsp;<font size=2
     color=green face="Comic Sans MS"><span style='font-size:10.0pt;font-family:
     "Comic Sans MS";color:green'>[no]</span></font> <o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo2'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>Are html
     and body borders closed at the bottom of each page, or just at the end of
     the document?</span></font>&nbsp;<font size=2 color=green
     face="Comic Sans MS"><span style='font-size:10.0pt;font-family:"Comic Sans MS";
     color:green'>[Just at the end of the document]</span></font> <o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo2'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>Does a
     background property set within an @page rule get applied to the page
     margins?&nbsp; [Yes] To the page area unless obscured by html, body, or
     other backgrounds?</span></font>&nbsp;<font size=2 color=green
     face="Comic Sans MS"><span style='font-size:10.0pt;font-family:"Comic Sans MS";
     color:green'>[????, under discussion]</span></font> <o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo2'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>On the
     last page of a document, do the html and body properties terminate
     immediately after the last content, or at the bottom of the page (e.g., do
     the html and body margins get drawn right below the last paragraph, or at
     the bottom of the page?</span></font>&nbsp;<font size=2 color=green
     face="Comic Sans MS"><span style='font-size:10.0pt;font-family:"Comic Sans MS";
     color:green'>[Immediately after content.]</span></font> <o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo2'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>Similarly,
     on the last page, do the page bg, border, etc. extend to the bottom of the
     page, or terminate after the last content?</span></font>&nbsp;<font
     size=2 color=green face="Comic Sans MS"><span style='font-size:10.0pt;
     font-family:"Comic Sans MS";color:green'>[bottom of the page]</span></font>
     <o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo2'><font size=2 color=green face="Comic Sans MS"><span
     style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>Others?</span></font><o:p></o:p></li>
</ul>

<div>

<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>Best regards,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=green face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:green'>Melinda</span></font><o:p></o:p></p>

</div>

<p style='margin-bottom:12.0pt'><font size=2 face="Times New Roman"><span
style='font-size:10.0pt'><br>
<!-- Converted from text/plain format -->&nbsp; _____&nbsp;<br>
<br>
HP&nbsp; -&nbsp;&nbsp; Melinda Grant<br>
Connectivity Standards&nbsp;<br>
Consumer Printing and Imaging<br>
+1 (541) 582-3681<br>
melinda.grant@hp.com&nbsp;&nbsp;&nbsp;<br>
&nbsp; _____&nbsp;<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>