CSS Flat mode and overridden z-index can interact poorly

Description

If multiple nested rules have a mix of explicit z-index (e.g., 1 and 2) and no z-index indication, the base level symbolizer can end up showing up at z-indexes levels it was not meant for.

E.g., in this case, a black line meant for lower zoom levels can show up on top at the higher zoom levels too:

 

 

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Priority

Medium
Configure