mirror of
https://github.com/zoriya/v10.git
synced 2026-08-09 15:46:42 +00:00
- Refactor PlayButton and MuteButton to use standard boolean attribute behavior
- Boolean data attributes now follow HTML conventions:
- Present with empty string ("") when true
- Completely absent when false
- Revert CSS to clean selectors that work with boolean attribute presence/absence
- Fixes PlayButton icon display issue where data-paused="false" was still present
- Ensures semantic consistency with native HTML boolean attributes
- Improves CSS maintainability with simpler attribute selectors
Before: data-paused="true"|"false" (always present)
After: data-paused="" (present) or absent (not in DOM)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>