64 lines
1.4 KiB
Markdown
64 lines
1.4 KiB
Markdown
---
|
|
status: testing
|
|
phase: 08-pagination-quality-cache-performance
|
|
source:
|
|
- 08-01-SUMMARY.md
|
|
- 08-02-SUMMARY.md
|
|
- 08-03-SUMMARY.md
|
|
started: 2026-05-23T23:20:00+08:00
|
|
updated: 2026-05-24T00:12:00+08:00
|
|
---
|
|
|
|
## Current Test
|
|
|
|
number: 4
|
|
name: avoidPageBreakInside enforcement
|
|
expected: |
|
|
Navigate to a chapter with block-level elements (images, code blocks, tables, blockquotes).
|
|
Page breaks should NOT split a block — if a block doesn't fit on the current page, the entire block moves to the next page.
|
|
The block should appear complete on a single page, not cut in half across two pages.
|
|
awaiting: user response
|
|
|
|
## Tests
|
|
|
|
### 1. Cache hit/miss logging
|
|
result: pass
|
|
|
|
### 2. Cache invalidation on parameter change
|
|
result: pass
|
|
|
|
### 3. Performance timing output
|
|
result: pass
|
|
|
|
### 4. avoidPageBreakInside enforcement
|
|
expected: Block-level elements not split across page boundaries
|
|
result: [pending]
|
|
|
|
### 5. Orphan/widow control
|
|
expected: No 1-2 line paragraphs at page start or end
|
|
result: [pending]
|
|
|
|
### 6. General image fit-to-page
|
|
expected: Large images scaled to fit within 85% page height
|
|
result: [pending]
|
|
|
|
### 7. Dark mode image preservation
|
|
expected: Images keep original colors in dark mode
|
|
result: [pending]
|
|
|
|
### 8. Image vertical centering
|
|
expected: Block-level images vertically centered on page
|
|
result: [pending]
|
|
|
|
## Summary
|
|
|
|
total: 8
|
|
passed: 3
|
|
issues: 0
|
|
pending: 5
|
|
skipped: 0
|
|
|
|
## Gaps
|
|
|
|
[none yet]
|