Closed Bug 300960 Opened 19 years ago Closed 12 years ago

Content not showing up on print preview at hrcalifornia

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

This is a follow-up of bug 270286.
A large part of the content of that page is not showing up.
I'll attach a testcase that I tried to minimize as much as possible.
Attached file testcase
Pagination fun...
Attached patch reftestSplinter Review
This bug seems to be wfm in Firefox 22 beta.
I'm not sure if this bug would be caught with the reftest framework, but here is a reftest patch that passes on my macbook.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
Attachment #751512 - Flags: feedback?(bzbarsky)
Comment on attachment 751512 [details] [diff] [review]
reftest

Why do those end up the same?  Are we just ignoring the page-break-before on the <br>?
Flags: needinfo?(martijn.martijn)
Comment on attachment 751512 [details] [diff] [review]
reftest

I don't understand why this makes any sense...  See comments.
Attachment #751512 - Flags: feedback?(bzbarsky) → feedback-
(In reply to Boris Zbarsky [:bz] from comment #4)
> Comment on attachment 751512 [details] [diff] [review]
> reftest
> 
> Why do those end up the same?  Are we just ignoring the page-break-before on
> the <br>?

See http://www.w3.org/TR/CSS21/page.html#propdef-page-break-before:
"
User Agents must apply these properties to block-level elements in the normal flow of the root element. User agents may also apply these properties to other elements, e.g., 'table-row' elements. 
"

That seems a bit vague, mdn says:
https://developer.mozilla.org/en-US/docs/Web/CSS/page-break-before#Specification
"
This properties applies to block elements that generate a box. It won't apply on an empty <div> that won't generate a box.
"

Sorry for the delay.
Flags: needinfo?(martijn.martijn) → needinfo?(bzbarsky)
Hmm.  Did we use to not ignore it?
Flags: needinfo?(bzbarsky) → needinfo?(martijn.martijn)
I think so, I can't remember, it happened 9 years ago.
Flags: needinfo?(martijn.martijn)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: