KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
68930
:
CSS property page-break-[before/after/inside] i...
P
roduct
:
konqueror
Co
m
ponent
:
khtml printing
Status
:
RESOLVED
Resolution
:
DUPLICATE of bug
57803
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
80
Description
:
Opened:
2003-11-24 13:20
Last Changed:
2005-08-17 01:47:52
Version: (using KDE KDE 3.1.4) Installed from: Debian testing/unstable Packages CSS properties page-break-after (-before, -inside) should insert page break when printing html. This works with mozilla/opera, but doesn't seem to be supported by khtml. Simple example page:
http://www.chamisplace.com/dl/tips/052898I/pgbreak.htm
Comment
#1
Stephan Kulow 2003-11-26 10:42:52
printing isn't khtml's biggest strength ;(
Comment
#2
Luke-Jr 2003-12-10 20:37:44
Note that the example page lacks a semicolon at the end of the CSS line, which might make it invalid. KHTML doesn't support this even when it is valid, though. :(
Comment
#3
Dylan Mills 2004-01-23 20:01:22
I have the same issue, does anyone know if this will be fixed in 3.2?
Comment
#4
Allan Sandfeld 2004-10-07 14:53:25
CVS commit by carewolf: WebCore/125-merge of page-break-before, -after and -inside attributes. CCMAIL:
68930-done@bugs.kde.org
M +18 -8 ChangeLog 1.291 M +11 -3 khtmlview.cpp 1.666 M +48 -2 css/cssstyleselector.cpp 1.317 M +31 -1 rendering/render_block.cpp 1.43 M +2 -0 rendering/render_block.h 1.18 M +25 -0 rendering/render_canvas.cpp 1.153 M +6 -8 rendering/render_canvas.h 1.56 M +1 -1 rendering/render_list.cpp 1.96 M +11 -3 rendering/render_style.cpp 1.72 M +35 -4 rendering/render_style.h 1.105 M +2 -2 rendering/render_text.cpp 1.251
Comment
#5
Nicolas Girard 2005-02-06 18:20:56
I'm afraid this bug should be reopened. Please check out the test file I'm about to attach ; here konqueror fails to take into account "page-break-inside: avoid", both when dealing with <div>s and <p>s ; I can also provide further tests that show the same happens with <dd>s and <dt>s. I'm using a Mandrakelinux Cooker version of konqueror (currently 3.3.2 + some patches from the 3.4 branch)
Comment
#6
Nicolas Girard 2005-02-06 18:22:55
Created an attachment (id=9449)
[details]
HTML test page for page-break-inside, <div>s and <p>s
Comment
#7
Allan Sandfeld 2005-02-07 00:17:34
Yes, only page-break-before was implemented by the safari merge.
Comment
#8
missive hotmail com 2005-05-28 03:11:57
I was trying to use the page-break-before on a br tag, but that does not work on 3.4.0. Also, using it on a singleton p tag does not work (but I am not really sure that is a legal tag...) Actually, I was trying page-break-after (which seemed more natural to me) but found this bug and saw that I can use page-break-before to get my page working properly for now.
Comment
#9
Luke-Jr 2005-05-28 04:38:45
FWIW, page-break-before/after seem broken in CVS where it previously worked
Comment
#10
Allan Sandfeld 2005-05-28 12:44:28
My previous comment was wrong. Both page-break-before and page-break-after was implemented. Seems there have been regressions. Test case?
Comment
#11
missive hotmail com 2005-05-28 13:31:56
Created an attachment (id=11230)
[details]
br tag with page-break-after
Comment
#12
Allan Sandfeld 2005-07-13 19:35:28
The bug is the same as #57803 *** This bug has been marked as a duplicate of
57803
***
Comment
#13
Allan Sandfeld 2005-08-16 22:58:18
The test-case is wrong. Page-break-after only applies to block-level elements, <br> is inline.
Comment
#14
missive hotmail com 2005-08-17 01:47:52
Created an attachment (id=12243)
[details]
page-break-before and page-break-after css page New test with block-level tag instead of inline tag.
P
latform
:
Debian testing
O
S
:
Linux
K
eywords
:
People
Reporter
:
Tomas Simonaitis
Assigned To
:
Konqueror Developers
CC
:
luke-jr+kdebugs utopios org
missive hotmail com
nicolas girard nerim net
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
HTML test page for page-break-inside, <div>s and <p>s
(10.68 KB, text/html)
2005-02-06 18:22
,
Nicolas Girard
Details
br tag with page-break-after
(297 bytes, text/html)
2005-05-28 13:31
,
missive@hotmail.com
Details
page-break-before and page-break-after css page
(422 bytes, text/html)
2005-08-17 01:47
,
missive@hotmail.com
Details
Hide Obsolete
(1) |
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In