Bug 57803 - css for paged media
Summary: css for paged media
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml printing (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 68930 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-28 15:03 UTC by Toby Dickenson
Modified: 2005-09-20 13:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toby Dickenson 2003-04-28 15:03:29 UTC
Version:            (using KDE KDE 3.1.1a)
Installed from:    Gentoo Packages

It would be nice for khtml to support the CSS properties for paged media. page-break-before is missed in particular.
Comment 1 Charles Samuels 2003-08-12 23:15:56 UTC
Here's documentation on this CSS: 
 
http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_10240082.html#2242340 
Comment 2 Petter Reinholdtsen 2003-09-13 15:47:25 UTC
It is also documented at W3C,
<URL: http://www.w3.org/TR/REC-CSS2/page.html#page-break-props >.
Comment 3 Allan Sandfeld 2004-11-24 16:07:46 UTC
page-break-before and -after are implemented, but separate stylesheets for different medias are not handled.
Comment 4 Luke-Jr 2005-02-27 02:33:10 UTC
@page selectors aren't implemented either, it seems from latest CVS...
Comment 5 Allan Sandfeld 2005-07-13 19:35:32 UTC
*** Bug 68930 has been marked as a duplicate of this bug. ***
Comment 6 Allan Sandfeld 2005-09-18 20:17:50 UTC
SVN commit 461805 by carewolf:

Merge of my SoC khtml-paged branch.
Implements real page-breaking logic respecting the CSS 2.1 specification, 
and replacing old buggy hack.
BUG: 57803
BUG: 71202
BUG: 58278
BUG: 92622
BUG: 68930



 M  +30 -0     ChangeLog  
 M  +5 -15     css/html4.css  
 M  +50 -23    khtmlview.cpp  
 M  +10 -1     khtmlview.h  
 M  +156 -4    rendering/bidi.cpp  
 M  +282 -24   rendering/render_block.cpp  
 M  +22 -1     rendering/render_block.h  
 M  +30 -4     rendering/render_box.cpp  
 M  +5 -3      rendering/render_box.h  
 M  +68 -50    rendering/render_canvas.cpp  
 M  +122 -16   rendering/render_canvas.h  
 M  +4 -1      rendering/render_container.cpp  
 M  +25 -1     rendering/render_flow.cpp  
 M  +1 -0      rendering/render_flow.h  
 M  +1 -1      rendering/render_image.cpp  
 M  +16 -0     rendering/render_line.cpp  
 M  +8 -3      rendering/render_line.h  
 M  +0 -19     rendering/render_list.cpp  
 M  +5 -1      rendering/render_object.cpp  
 M  +50 -1     rendering/render_object.h  
 M  +51 -0     rendering/render_style.cpp  
 M  +38 -0     rendering/render_style.h  
 M  +75 -3     rendering/render_table.cpp  
 M  +6 -1      rendering/render_table.h  
 M  +6 -25     rendering/render_text.cpp  
Comment 7 Allan Sandfeld 2005-09-20 13:37:58 UTC
I've created bug #112943 for the missing "@page" support.