Closed Bug 203872 Opened 23 years ago Closed 23 years ago

when printing, text-indent of paragraphs is applied to first line of orphans (should not be)

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 45694

People

(Reporter: eryq, Assigned: dbaron)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 This bug involves the style: p { text-indent: 0.5in; } If you take an HTML page containing a series of long paragraphs and apply this style to it, the page will display fine in the browser. The bug appears when you Print (or Print Preview): if any paragraph spans two pages, then the orphan at the top of the next page will be indented... and should not be. In other words, you see this: xxxxxxx xxxxxxxxxxx xxxxxxxxxxx --------------- page break xxxxxxx xxxxxxxxx When you should see this: xxxxxxx xxxxxxxxxxx xxxxxxxxxxx --------------- page break xxxxxxxxxxx xxxxxxxxx Reproducible: Always Steps to Reproduce: 1. Create an HTML page containing nothing but paragraphs in the body (for simplicity). The paragraphs should be reasonably long, say about 10 lines per, just so the odds of having an orphan are good. 2. Apply the style "p {text-indent:0.5in}" to the page. 3. Either Print or Print Preview the page. Actual Results: All paragraphs display perfectly in the browser, but for all paragraphs which span two pages, the orphans on the second page are indented and should not be. Expected Results: The orphan on the second page should align with the margin.
This has been fixed for a long time now... (almost a year). The fix didn't make the 1.0 branch, though. *** This bug has been marked as a duplicate of 45694 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.