Closed
Bug 883676
Opened 11 years ago
Closed 11 years ago
Implement page-break-inside: avoid for the 'height' of a block
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
VERIFIED
FIXED
mozilla25
People
(Reporter: bugzilla, Assigned: MatsPalmgren_bugz)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete, testcase, Whiteboard: [DocArea=CSS])
Attachments
(1 file)
7.38 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
This spun from bug 685012 comment 42. 'page-break-inside: avoid' does not appear to be implemented for block containers. Self-explanatory test --------------------- http://www.gtalbot.org/BugzillaSection/Bug685012-page-break-inside-avoid.html Expected results ---------------- a) 5 pages of output are produced, b) each numbered sentence is printed on the corresponding page number and c) there is no page break occuring inside each and all 5 black-bordered-boxes. Actual results in Firefox 21 ---------------------------- a) 4 pages of output are produced, b) the 2nd sentence is printed on 1st page, 3rd sentence is printed on 2nd page, 4th sentence is printed on 3rd page and c) there is a page break occuring inside the 2nd, 3rd and 5th black-bordered-boxes. Notes ----- The test assumes paper size in paper setup is (preferably) US Letter (216mm wide by 279mm tall; 8½inches by 11inches) or A4 (210mm wide by 297mm tall). Page orientation should be Portrait. Scale should be 100%. The black borders are not part of that test but they help notice/visualize where the blocks are laid up. Firefox 21 (under Linux) and Firefox 24a1 June 15th 2013's nightly build,(under Windows XP SP3) fail this test. Chrome 27.0.1453.110 (under Linux and Windows XP SP3) passes this test. It would be nice to know if IE9 and IE10 pass this test. I use Linux, kernel version 3.8.0-25-generic, KDE 4.10.4, i686 (32bits). Gérard
Reporter | ||
Comment 1•11 years ago
|
||
Adding URL field, testcase keyword and bug dependencies
Reporter | ||
Updated•11 years ago
|
Summary: Implement page-break-inside:avoid for block → Implement page-break-inside: avoid for block
Reporter | ||
Comment 2•11 years ago
|
||
> Firefox 24a1 June 15th 2013's nightly
> build,(under Windows XP SP3) fail this test.
To be precise:
buildID = 20130616031139
userAgent = Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20130616 Firefox/24.0
Summary: Implement page-break-inside: avoid for block → Implement page-break-inside: avoid for the 'height' of a block
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → matspal
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 3•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=07600fae523b
Assignee | ||
Updated•11 years ago
|
Attachment #763947 -
Flags: review?(roc)
Attachment #763947 -
Flags: review?(roc) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4f561ee280eb
Flags: in-testsuite+
Updated•11 years ago
|
Keywords: dev-doc-needed
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4f561ee280eb
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Reporter | ||
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Whiteboard: [DocArea=CSS]
Comment 6•10 years ago
|
||
Added a note in: https://developer.mozilla.org/en-US/docs/Web/CSS/page-break-inside and https://developer.mozilla.org/en-US/Firefox/Releases/25
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•