CSS Lab · LAB-02UNSOLVED
The Missing Button
The button is in the DOM. The CSS says it is visible. Nobody can see it. The developer insists everything is correct, and the developer is telling the truth.
- Status
- UNSOLVED
- Level
- DEVELOPER
- Threads
- 06
- Suspects
- 04
The scene
A checkout page. The 'Complete order' button renders on the developer's machine and vanishes in production for roughly 4% of sessions. There is no JavaScript error. The element is present in the inspector, highlighted, with a real bounding box.
example.htmlhtml
<div class="checkout-footer"> <p class="legal">By continuing you agree to the terms.</p> <button class="cta">Complete order</button></div>example.csscss
.checkout-footer { height: 72px; overflow: hidden; padding: 16px;}.legal { font-size: 13px; line-height: 1.5; }.cta { display: block; opacity: 1; visibility: visible; color: #fff; background: #1b5e20;}01Evidence board0 / 3 material findings
02Name a suspect
Resolution sealed until a suspect is named
References
- 01MDNoverflow
- 02W3C i18nText expansion in localisation