Bug 112943

Summary: Support of CSS page-context "@page"
Product: [Applications] konqueror Reporter: Allan Sandfeld <kde>
Component: khtml printingAssignee: Konqueror Developers <konq-bugs>
Status: CONFIRMED ---    
Severity: normal CC: browserbugs2, luke-jr+kdebugs, robburns1
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Allan Sandfeld 2005-09-20 13:36:45 UTC
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.
Comment 1 Gérard Talbot (no longer involved) 2010-05-26 05:40:48 UTC
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
Comment 2 Gérard Talbot (no longer involved) 2010-12-03 02:34:30 UTC
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
Comment 3 Gérard Talbot (no longer involved) 2011-06-19 23:01:14 UTC
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