pub fn paint_cmp(
a_path: &[(i32, u8, u32, u32)],
a: (i32, u8, u32, u32),
b_path: &[(i32, u8, u32, u32)],
b: (i32, u8, u32, u32),
) -> OrderingExpand description
2 要素の描画順の比較(Less が先=奥)。path は祖先のスタッキングコンテキストの段の列。
【2026-10-18】CSS 2.1 Appendix E の入れ子。z-index はそれを含むスタッキングコンテキストの
中でだけ比べる。#movie_player{position:relative;z-index:0} の中の
.html5-video-container{z-index:10} が、player の外の後続の操作部(z auto)より手前に
描かれていた(平坦な実効 z では 10 > 0)。段の列を辞書順で比べ、コンテキストを作る要素の
段は子孫の列の接頭辞になるので、その要素は自分の中身より必ず先(I-1)。