Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for float numbers (positive & negative) in the z-index style property #3171

Merged
merged 3 commits into from
Oct 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Updated related docs re. : Add support for float numbers in the z-ind…
…ex style property #3160
maxkfranz committed Oct 19, 2023
commit d1e33f2ef36f2cc3856648f08c26c41647116ab9
2 changes: 1 addition & 1 deletion documentation/md/style.md
Original file line number Diff line number Diff line change
@@ -535,7 +535,7 @@ Endpoint modification is not supported for `curve-style: haystack` edges for per
* An `opacity: 0` element is interactive.
* **`z-index`** : A numeric value that affects the relative draw order of elements. In general, an element with a higher `z-index` will be drawn on top of an element with a lower `z-index`.
* Note that edges are under nodes despite `z-index`, except when necessary for compound nodes.
* Note that unlike CSS proper, the `z-index` is a floating point value. Like CSS, the value is non-negative.
* Note that unlike CSS proper, the `z-index` is a floating point value.

Elements are drawn in a specific order based on compound depth (low to high), the element type (typically nodes above edges), and z-index (low to high). These styles affect the ordering: