Rendering problem at linux.die.net

John-Mark Bell jmb at netsurf-browser.org
Mon Sep 17 11:36:32 BST 2007


On Mon, 17 Sep 2007, John-Mark Bell wrote:

> The CSS spec states that box backgrounds are positioned relative to 
> the box's padding edge, which is what NetSurf is doing here.

Except, of course, that, in the case of HTML documents, the body element 
is special-cased -- any background specified upon it is positioned 
relative to the *root* element's padding edge (and no background is ever 
drawn for the body element). NetSurf currently doesn't do this, hence the 
incorrect behaviour you're seeing.


John.




More information about the netsurf-users mailing list