Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed commit of the following: commit 19bea7f Author: Jon Surrell <[email protected]> Date: Wed Jan 31 10:26:06 2024 +0100 Revert "Use $p variable for processor like other tests" This reverts commit 0deab0a. commit 31d71de Author: Dennis Snell <[email protected]> Date: Tue Jan 30 15:34:23 2024 -0700 Ensure void and self-closing elements pop from stack when advancing. Previously, the logic to pop void and self-closing elements from the stack of open elements only ran when stepping into the next node in a document. With the introduction of `next_token()` there appeared a new way to reprocesses the current token, so this logic would be skipped when calling `next_token()` _into_ a void or self-closing element, leaving it on the stack. In this patch the logic runs whenever the processor is not reprocessing the current token. A new class constant communicates that `step()` should treat the current token as if it arrived there itself, that is, to process it with the normal rules but without advancing the parser. commit 7890b53 Author: Jon Surrell <[email protected]> Date: Tue Jan 30 16:55:03 2024 +0100 Update ticket commit e0668b6 Author: Jon Surrell <[email protected]> Date: Tue Jan 30 16:51:02 2024 +0100 Add failing test commit 0deab0a Author: Jon Surrell <[email protected]> Date: Tue Jan 30 15:53:48 2024 +0100 Use $p variable for processor like other tests
- Loading branch information