Summary: | [test case] background on root not propagated to canvas if root is of table display | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | khtmltest <annavoy> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | browserbugs2, frank78ac |
Priority: | NOR | Keywords: | reproducible, testcase, triaged |
Version: | 4.8.4 | ||
Target Milestone: | --- | ||
Platform: | FreeBSD Ports | ||
OS: | FreeBSD | ||
URL: | http://test.csswg.org/suites/css2.1/latest/html4/background-root-003.htm | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | testcase |
Description
khtmltest
2006-09-26 05:18:16 UTC
Created attachment 17915 [details]
testcase
Confirmed, r588485. The high value of the body margin provides additional insight into the nature of the problem. Margins do not collapse between the root element any other element, therefore the gray box as evidenced in Konqueror 3.5.4 has dimensions equivalent to the box of computed height and width for the root element, and the background is correct (gray). However, the background on the root element should be propagated to viewport, if the dimensions of the root element are smaller than the dimensions of the viewport. Body background (white) is instead propagated to viewport, whereas the body element itself loses the white background. The white box should be shrink-to-fit, covering the two lines of text only. Visually, this presents itself as if the body and root backgrounds were exchanged, but that statement is not precise enough. The background on body has no effect. I can confirm this in 3.5.9 and SVN trunk rev. 798811. Interesting: 1. If you have several tabs open in SVN trunk 798811 and change from another tab to the one with the test case, only the grey box around the text is drawn. The rest of the page still shows the contents of the previous tab. This is not the case in 3.5.9: the page background is white except for the grey box. 2. Firefox 2.0.0.13 doesn't draw a white box around the text either - the whole page is grey, i.e., the background specified for body doesn't have any effect here either (see comment #4). Hello all, I submitted the bug reporter's testcase to CSS 2.1 test suite: http://test.csswg.org/source/contributors/gtalbot/submitted/background-root-003.htm and http://www.gtalbot.org/BrowserBugsSection/css21testsuite/background-root-003.html and it will be included into the next snapshot of the CSS 2.1 test suite. khtmltest (annavoy), I tried to reach you via email so that I could add your name and credit your testcase (provided you would sign up the W3C form). Your email address is broken. If you ever read this, please visit http://wiki.csswg.org/test/css2.1/contribute and http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html and then contact me. ------------------ I can still confirm the bug: Konqueror 4.4.2, under Linux 2.6.31-19-generic, Qt 4.6.2, KDE 4.4.2 platform here. regards, Gérard Talbot Testcase url in the CSS 2.1 test suite (build January 11th 2011: Release Candidate 5) : http://test.csswg.org/suites/css2.1/20110111/html4/background-root-003.htm The bug still happens in Konqueror 4.5.5, under Linux 2.6.35-25-generic-pae (i686: 32bit), Qt 4.7.0 under KDE 4.5.5 platform. Gérard This bug is still reproduceable. Latest version of test in CSS 2.1 test suite: http://test.csswg.org/suites/css2.1/20110323/html4/background-root-003.htm or http://test.csswg.org/suites/css2.1/latest/html4/background-root-003.htm I am using KDE Platform Version: 4.8.4 Konqueror version: 4.8.4 (with KHTML rendering engine) Qt Version: 4.8.1 Operating System: Linux 3.2.0-25-generic-pae i686 (32bits) Distribution: Kubuntu 12.04 LTS here. Summary field, Component field, Version field, URL field and Keywords field have been updated. Gérard |