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

coreui / coreui-pro / 33269797336
97%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 29 Aug 2026 07:02PM UTC
Jobs 1
Files 68
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

29 Aug 2026 07:01PM UTC coverage: 93.087% (-0.07%) from 93.16%
33269797336

push

github

web-flow
feat(forms): floating labels over the field components (#977)

* feat(forms): floating labels over the field components

Every field component wraps its control in `.form-control-group`, so the
`.form-floating > .form-control` rules never matched: the label stayed put, the
field kept a plain height, and the pairing silently did nothing. Measured in
Chromium, all four wrappers carry `.form-control-group`, so one shared block
covers them — the group takes the floating height, the control inside takes the
padding shift, and the control's placeholder stays hidden until the label is
out of the way.

Password Input, Number Input and Autocomplete keep a real input, so
`:placeholder-shown` carries the empty state as-is. Multi Select has no input
to ask; its float is re-bound to the placeholder element the component renders
only while nothing is selected — the same shape the date input uses with
`.form-date-time-filled`. Both of its init paths (options config and a
`<select>`) reach the same structure, and both are covered by the new spec.

The spec asserts computed style rather than pixels: the question is whether the
state selectors match at all, plus one guard that every wrapper matches a plain
control's height under `.form-floating`.

* feat(forms): floating labels over the pickers, and a guard the first commit needed

The pickers wrap their date-time control in the same `.form-control-group` the
first commit targets, and that surfaced a latent bug in it: the empty state
reads `:placeholder-shown`, which never matches the div-based `.form-date-time`
— so its negation always did, and a picker under `.form-floating` would have
floated its label permanently over a visible mask. The placeholder-based arms
now exclude `.form-date-time`.

The pickers then get their own state block next to the date input's, keyed the
same way: filled is the JS-managed `.form-date-time-filled` on any control in
the group, focus is `:focus-within` on the group — so opening the cale... (continued)

4739 of 5338 branches covered (88.78%)

Branch coverage included in aggregate %.

16 of 24 new or added lines in 6 files covered. (66.67%)

9023 of 9446 relevant lines covered (95.52%)

386.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
80.85
-19.15% js/src/util/form-control-group.ts
Jobs
ID Job ID Ran Files Coverage
1 33269797336.1 29 Aug 2026 07:02PM UTC 68
93.09
GitHub Action Run
Source Files on build 33269797336
  • Tree
  • List 68
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33269797336
  • bd3d8e8e on github
  • Prev Build on v6-dev (#33167910695)
  • Next Build on v6-dev (#33269871563)
  • Delete
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