-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Schema changes: More consistent naming and use of "block" elements, which are typically (vertical) blocks of block, para orsectional material (according to the level) for layout purposes. * block can contain Block.model allowed in Block.class * logical-block can contain Para.model allowed in Para.class * sectional-block can contain sectional material, allowed in sections Each has an inline- variant which is in Misc.class. NOTE: that inline-para has been renamed inline-logical-block! NOTE: that the content model of table cells (ltx:td) has been changed to Inline.model; if it needs to contain block level material, it needs to be contained in an appropriate inline-xxx element. * Add XSLT for the new (or renamed) block elements * Add support for an internal ltx:_CaptureBlock_ element useful for temporarily capturing block-like content at various levels to defer determining which level (block,logical,sectional) is needed * Enhance document->renameNode with option to 're-insert' the contents with the new name allowing for automatic opening/closing of nodes * Replace ltx:inline-para with ltx:inline-logical-block * Replacement insertBlock based on _CaptureBlock * \hbox creates inline-block if placed where #PCDATA is allowed * Have p{} column type pass the desired width to \hbox, so that can create proper inline-blocks * Simplify but generalize \normal@par, \lx@newline to recognize block mode avoiding unnecessary ltx:break; use these more consistently, obsoleting \inner@par, \lx@parboxnewline * Fixup CSS styling for various blocks, inline, etc * Enhance tabular test-case for interation between @ and p column specifications * Enhance framed test-case to show framing of more awkward combinations * Updated test-cases for changes to block processing * always allow (internal) attributes that start with _; allow svg:g, svg:foreignObject in ltx:_CaptureBlock_ * Change svg:foreignObject content from Flow.model to Inline.model (using inlne- blocks when needed) * In renameNode, only copy allowed attributes * Fix copy mistake * Careful about insertBlock into svg which may or may not need an svg:foreignObject
- Loading branch information
1 parent
e42782a
commit e3e4845
Showing
42 changed files
with
884 additions
and
554 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.