Only the innermost enum level is baseline-aligned when bounds is used—is this expected?

= default edge

+ $display(a / b)$
+ + $display(a / b)$
+ + + $display(a / b)$

= bounds edge

#show math.equation: set text(top-edge: "bounds", bottom-edge: "bounds")

+ $display(a / b)$
+ + $display(a / b)$
+ + + $display(a / b)$

By default, no matter how many levels of nesting there are, they are all baseline-aligned. But when I set the edge to bounds (e.g. top-edge: "bounds" / bottom-edge: "bounds"), only the level closest to the content is baseline-aligned; the outer levels are not aligned. Is this expected behavior? Is there any way to make the outer levels align with the inner level?

In Typst0.15.1, for enum, list, terms, table, grid, stack etc, they have no baseline. For enum or list, if the label or body has no baseline, then top-align is set. This may be changed in the future (hope…).

Currently, you can use the package itemzie like:

#import "@preview/itemize:0.2.0" as el
#show: el.default-enum-list

See also Ver0.3.0 update for typst0.15.1 by tianyi-smile · Pull Request #21 · tianyi-smile/itemize · GitHub.

Test
  #let test = [
  = default edge

  + $display(a / b)$
  + + $display(a / b)$
  + + + $display(a / b / c)$

  = bounds edge

  #show math.equation: set text(top-edge: "bounds", bottom-edge: "bounds")

  + $display(a / b)$
  + + $display(a / b)$
  + + + $display(a / b / c)$
  ]
  #table(columns: (1fr, 1fr))[
    #import "@preview/itemize:0.2.0" as el
    #show: el.default-enum-list
    #test
  ][
    #test
  ]

Output: