Child and Pseudo-Element

A fixed element at the top or the bottom edge often has more than one color in it: its own background, plus a child or a ::before on top. Which one does Safari use for the status bar and the toolbar?

Colors: blue page, red fixed element, yellow child or ::before. Pick a case and compare the bars with the status bar and the toolbar.

Rules