Hustler-Pixelwelt T13: Pause-Rückfrage unter der Handy-Schublade (z-index 9)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2470f05acb
commit
ea1485c27c
2 files changed
+9
-1
No files matched your search
@@ -787,3 +787,11 @@ test('CSS hustler-kopf.css: nur hk-Klassen unter .hk-hochhaus, Keyframes hk-kopf
|
||||
assert.match(css, /\.hk-hochhaus \.hk-kopf \{[^}]*pointer-events: none/)
|
||||
assert.match(css, /\.hk-hochhaus \.hk-kopf-geld \{[^}]*pointer-events: auto/)
|
||||
})
|
||||
|
||||
test('Rückfrage liegt am Handy unter der WOMS-Schublade: z-index ≤ 9 (Seitenleiste 20, Scrim 15 in global.css; Endprüfung R4)', () => {
|
||||
const css = cssText('hustler-kopf.css')
|
||||
const regel = css.match(/\.hk-rueckfrage-hintergrund\s*\{([^}]*)\}/)
|
||||
assert.ok(regel, 'Regel .hk-rueckfrage-hintergrund fehlt')
|
||||
const z = Number((regel[1].match(/z-index:\s*(\d+)/) || [])[1])
|
||||
assert.ok(Number.isInteger(z) && z <= 9, `z-index ${z}`)
|
||||
})
|
||||
Reference in new issue
Block a user