Bug 707324

Summary: Story: HTML table row background color repeated incorrectly
Product: MuPDF Reporter: Jorj <jorj.x.mckie>
Component: mupdfAssignee: Robin Watts <robin.watts>
Status: RESOLVED FIXED    
Severity: normal CC: robin.watts
Priority: P2    
Version: master   
Hardware: PC   
OS: Windows 10   
Customer: Word Size: ---
Attachments: JavaScript

Description Jorj 2023-11-13 15:47:36 UTC
Created attachment 25013 [details]
JavaScript

HTML table row background color incorrectly appearing on subsequent pages / "where" rectangles.

Attached a JavaScript outputting a table with alternating row backgrounds that extends across two pages.
Comment 1 Robin Watts 2023-11-16 11:52:51 UTC
Fixed in:

commit 2b5cadbf116877070a5e170b749d6070591dadac
Author: Robin Watts <Robin.Watts@artifex.com>
Date:   Wed Nov 15 17:14:02 2023 +0000

    Bug 707324: Fix stray HTML table rectangles on subsequent pages.

    When skipping over boxes that have previously been placed on other
    pages, ensure we properly set all the table cells to be 0 height
    so we don't accidentally draw them on the next page we layout.