Version: (using KDE Devel) Installed from: Compiled sources This bug is related to the now closed #57803, and represents the last missing piece of CSS 2.1 Paged Media support. The page-context selector "@page" should be able to be used for setting margins, rather than relying on the currently hard-coded margins. In CSS 2.0 or CSS 3 support the page-context should also be allowed to set page sizes (like "size: a4;"). This will require new printing dialogs to handle mismatches of physical paper size and document paper size.
Reference: section 13.2 Page boxes: the @page rule http://www.w3.org/TR/CSS21/page.html#page-box Testcases for @page from CSS 2.1 test suite are listed at http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/chapter-13.html regards, Gérard
Testcases for @page from latest (build 20101027) stable CSS 2.1 test suite (RC3) are listed at http://test.csswg.org/suites/css2.1/20101027/html4/chapter-13.html#s13.2 http://test.csswg.org/suites/css2.1/20101027/html4/chapter-13.html#s13.2.1 http://test.csswg.org/suites/css2.1/20101027/html4/chapter-13.html#s13.2.2 regards, Gérard
Testcases for @page rule from latest stable CSS 2.1 test suite are listed at http://test.csswg.org/suites/css2.1/latest/html4/chapter-13.html#s13.2 http://test.csswg.org/suites/css2.1/latest/html4/chapter-13.html#s13.2.1 http://test.csswg.org/suites/css2.1/latest/html4/chapter-13.html#s13.2.2 Those 3 links above will be appropriately redirected to proper pages of latest stable RC versions of CSS 2.1 test suite. The results for Konqueror latest stable version (right now, Konqueror 4.6.4) are listed at at-page-rule-* testcases: http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/Konq-IR-CSS21TestSuite-04.html page-container-*, page-selectors-*, page-props-* testcases: http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/Konq-IR-CSS21TestSuite-79.html Some tests definitely still require closer examination/review and may be still questionable or inaccurate in my opinion. regards, Gérard
Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann