summaryrefslogtreecommitdiff
path: root/spec/section_spec.rb
AgeCommit message (Collapse)Author
2023-08-05remove debug flagDan Allen
2023-08-05eradicate tall.svg from section specsDan Allen
2022-10-30switch from EOS to END as heredoc delimiterDan Allen
2022-10-27resolves #2363 replace use of AbstractBlock#role= method to ensure ↵Dan Allen
compatbility with Asciidoctor 2.0.10 (PR #2364)
2022-10-22verify trailing hard line break is ignoredDan Allen
2022-09-03resolves #2328 don't use chapter or part signifier if respective attribute ↵Dan Allen
is unset (PR #2329)
2022-09-01remove debug flag from test suiteDan Allen
2022-09-01ensure heading-min-height-after theme key is ignored if section is empty or ↵Dan Allen
discrete heading is last child
2022-09-01resolves #2326 don't include bottom margin when computing heading height if ↵Dan Allen
heading-min-height-after theme key is empty (PR #2327)
2022-08-31fix test descriptions [skip ci]Dan Allen
2022-08-31arrange heading even if section is emptyDan Allen
2022-08-29verify heading is advanced to next page to avoid breaking across page boundaryDan Allen
2022-08-26resolves #2322 draw border on heading if it is advanced to next page (PR #2323)Dan Allen
2022-08-20resolves #2311 change style of footnote labels (PR #2312)Dan Allen
2022-07-31apply text formatting when checking height of heading for orphan preventionDan Allen
2022-07-28apply text transformation when checking height of heading for orphan preventionDan Allen
2022-07-22resolves #2288 prevent orphan detection for heading from modifying document ↵Dan Allen
state (PR #2289)
2022-07-16resolves #2268 allow orphan detection to be enabled for all section titles ↵Dan Allen
and discrete headings using theme (PR #2283)
2022-06-10resolves #1795 don't insert page break between part and first chapter if ↵Dan Allen
heading-part-break-after key in theme is avoid (PR #2239)
2022-05-15don't add entry to TOC for notitle section if no content follows itDan Allen
2022-05-11update extended converter that avoids a page break after a heading and use ↵Dan Allen
it in the test case
2022-05-10resolves #2151 add support for orphan avoidance to discrete headings (PR #2153)Dan Allen
2022-04-30resolves #434 add support for defining border and padding per heading level ↵Dan Allen
in theme (PR #2098)
2022-04-28resolves #2095 separate align and text-align keys in theme schema and update ↵Dan Allen
docs (PR #2096)
2022-04-28resolves #1786 allow entry for preface to be added to TOC without adding ↵Dan Allen
title to body (PR #2094)
2022-04-27allow the title of any section to be hidden using the notitle optionDan Allen
2022-04-27change name of untitled option on special section to notitleDan Allen
2022-04-27delete dests on page before deleting itDan Allen
2022-04-25resolves #2075 keep section title with first block of content is breakable ↵Dan Allen
option is set on section (PR #2076)
2022-04-06resolves #2023 extract arrange_section method to compute whether section ↵Dan Allen
title should be advanced to next page (PR #2024)
2022-03-13replace tabs with spaces in test fixture stringsDan Allen
2022-03-05add helper to retrieve metadata for destinationDan Allen
2022-01-19resolves #1990 handle uppercase characters in character references (PR #1991)Dan White
2021-11-05allow title of special section to be hidden by setting untitled option on ↵Dan Allen
section
2021-01-19fix order of font kerning tests in section contextDan Allen
2021-01-19verify theme can set font kerning per heading levelDan Allen
2021-01-19verify theme can disable font kerning for headingsDan Allen
2021-01-19split out tests that verify them can set font family for headings and per ↵Dan Allen
heading level
2021-01-18improve test for setting font family for headings and per heading levelDan Allen
2021-01-18verify theme can set font family per heading levelDan Allen
2020-11-29test font style can be set per heading levelDan Allen
2020-11-18move floating title (aka discrete heading) tests to dedicated fileDan Allen
2020-10-21verify theme can set line height for heading per section levelDan Allen
2020-09-14verify different top/bottom margin can be set per heading levelDan Allen
2020-09-01resolves #1761 drop support for chapter-label and document chapter-signifier ↵Dan Allen
instead [skip ci]
2020-08-25consistently use "be" matcher to assert page numberDan Allen
2020-08-14verify theme can set different top of page margin for a given heading level ↵Dan Allen
(e.g., part)
2020-08-13verify theme can set alignment per section levelDan Allen
2020-08-01verify level-0 special section is treated as chapter in multipart bookDan Allen
2020-07-31verify section titles in article are numbered when sectnums attribute is setDan Allen