W3C home > Mailing lists > Public > public-css-testsuite@w3.org > December 2011

Implied horizontal margin for body element: 8px presumed but 10px for Konqueror 4+

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 10 Dec 2011 21:41:37 -0800
Message-ID: <3535f79792fae5acbc86f00cc1ab576a.squirrel@gtalbot.org>
To: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Hello,

Some Ian Hickson tests presume that all browsers have a user agent
stylesheet where body has an 8px margin or 0.5em. But it is not so in
Konqueror; its user agent stylesheet declares body {margin: 10px}

The solution is to explicitly declares it

body {margin: 8px}

in a testcase like

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/background-root-024.htm

otherwise I do not see how I can make a reftest here.

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Sunday, 11 December 2011 05:42:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 11 December 2011 05:42:16 GMT