• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nette / latte / 30653514805
95%

Build:
DEFAULT BRANCH: master
Ran 31 Jul 2026 06:02PM UTC
Jobs 1
Files 179
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Jul 2026 05:48PM UTC coverage: 94.935% (+0.007%) from 94.928%
30653514805

push

github

dg
HtmlHelpers: contenteditable, draggable, spellcheck & hidden are not boolean attributes (BC break)

None of them is a boolean attribute in HTML; they are enumerated ones, so
rendering them as a bare name was wrong in three separate ways:

- a string 'false' is truthy in PHP, so contenteditable={$s} rendered the
  attribute present, i.e. the exact opposite of what was asked for
- the empty value is not a keyword of draggable, it maps to the invalid value
  default 'auto', so draggable=true could not be expressed at all
- 'attribute missing' and 'attribute false' are different states; the false
  value is what disables editing inside a contenteditable region, and dropping
  the attribute silently inherited from the parent instead

Two new categories replace them. 'tristate' (contenteditable, draggable,
spellcheck, writingsuggestions) maps bool to the true/false keywords, exactly
like aria-* already does, so formatAriaAttribute now delegates to it. The
'valuedBool' one (hidden, popover) stays a flag but keeps a non-empty value,
so hidden="until-found" survives. Falsy values are tested first there: hidden
with a '0' coming from a database must not render hidden="0", which is an
invalid value and would map back to the hidden state.

15 of 15 new or added lines in 2 files covered. (100.0%)

6073 of 6397 relevant lines covered (94.94%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30653514805.1 31 Jul 2026 06:02PM UTC 179
94.94
GitHub Action Run
Source Files on build 30653514805
  • Tree
  • List 179
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b3451ba9 on github
  • Prev Build on master (#30275971304)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc