fix(as-S6): the operator's rulings — sentence tagline, no side stripe, matte dot, stripe on ::before
Operator, 2026-09-28: "go with your recommendations".
- Tagline: 'held for review · wipes in {ttl}h unless kept', mono, muted,
12px, sentence case ("ephemeral" goes, as agreed with booth-dev).
- 'Needs you' rows lose the 3px side stripe; the '? N OPEN' stamp says it.
The flagged filmstrip frame keeps its bottom stripe.
- The brand dot is matte (glow = live power; a live bench keeps its glow).
- Wipe now and the armed bulk delete carry the hazard stripe on a 3px
::before, so the button's own background is honestly what sits under its
text; the stripe renders as before.
Contract: as_antislop S6. Falsifiers: antislop.toml 49/49 proved (S1-S4, S6);
all 12 tables 329/329 proved on this tree.
This commit is contained in:
@@ -283,3 +283,26 @@ def test_the_ask_tag_meets_the_label_floor():
|
||||
i = js.index('".bk-ask-tag{')
|
||||
m = re.search(r"font:\d+ (\d+(?:\.\d+)?)px", js[i:i + 400])
|
||||
assert m and float(m.group(1)) >= 11, m and m.group(0)
|
||||
|
||||
|
||||
|
||||
# ---- S6: the operator's rulings ------------------------------------------------------
|
||||
|
||||
def test_the_tagline_is_a_sentence(client):
|
||||
c, data = client
|
||||
html = c.get("/").text
|
||||
m = re.search(r'<span class="tagline">(.*?)</span>', html, flags=re.S)
|
||||
assert m and _text(m.group(1)) == "held for review · wipes in 24h unless kept", m and m.group(1)
|
||||
# the BASE rule (the phone rule `body.page-stage .topbar .tagline` is S3's)
|
||||
decl = re.search(r"\n\s*\.tagline\{([^}]*)\}", (_T / "base.html").read_text()).group(1)
|
||||
assert "uppercase" not in decl and _px(decl) >= 12, decl
|
||||
|
||||
|
||||
def test_needs_you_rows_carry_no_side_stripe():
|
||||
decl = _rule((_T / "base.html").read_text(), ".desk-row.is-needs")
|
||||
assert "inset" not in decl, decl
|
||||
|
||||
|
||||
def test_the_brand_dot_is_matte():
|
||||
decl = _rule((_T / "base.html").read_text(), ".brand .dot")
|
||||
assert "box-shadow" not in decl, decl
|
||||
|
||||
Reference in New Issue
Block a user