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

coreui / coreui-pro / 31269425939
93%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 08 Aug 2026 05:27PM UTC
Jobs 1
Files 61
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

08 Aug 2026 05:26PM UTC coverage: 92.982% (-0.007%) from 92.989%
31269425939

push

github

web-flow
fix(range-slider): stop painting the slider from JavaScript (#724)

* fix(range-slider): position the tooltip in CSS and make it an <output>

The tooltip was placed by JavaScript on every value change: an inline
`inset-inline-start` percentage plus a margin compensating for the handle's
width, read from the stylesheet with `getComputedStyle` and parsed by a regex.

The compensation is algebra that CSS can do. `percent·W + (0.5 − percent)·T`
reduces to `T/2 + percent·(W − T)` — the handle's centre — so the stylesheet
computes it from one ratio the plugin keeps in sync, and the vertical
orientation becomes a second declaration instead of a second code path.

That deletes `_getThumbSize()` along with two defects it carried: its fallback
returned a string where callers expected `{value, unit}`, so a handle width the
regex could not read (`calc()`, `var()`) produced `NaNundefined` and dropped the
compensation entirely; and the ternary in `_positionTooltip()` computed the same
expression in both branches.

The tooltip is an `<output>` now — the element for a value derived from a
control — with `<span>` children, because `<output>` takes phrasing content and
Bootstrap's own `<div>`s inside one are invalid. Ours needs no extra CSS for
that: the tooltip is a flex container, so the spans are blockified anyway.
`aria-hidden="true"` is not optional here: measured through CDP, an `<output>`
without it enters the accessibility tree as `role="status"` with `live="polite"`,
which would announce the value a second time on every drag on top of the
handle's own `aria-valuenow`.

Verified in Chromium that nothing moves: the tooltip's position is identical
across 60 combinations — LTR and RTL, horizontal and vertical, three handle
sizes, five values — and the `<output>`/`<span>` markup renders pixel-identical
to the old `<div>`s across 19 measured properties.

* fix(range-slider): build the track's fill in CSS, and fix it under a changed prefix

The gradient was assembled... (continued)

4255 of 4805 branches covered (88.55%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

8265 of 8660 relevant lines covered (95.44%)

364.26 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
64.63
-0.61% js/src/navigation.ts
Jobs
ID Job ID Ran Files Coverage
1 31269425939.1 08 Aug 2026 05:27PM UTC 61
92.98
GitHub Action Run
Source Files on build 31269425939
  • Tree
  • List 61
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31269425939
  • de1d9f1f on github
  • Prev Build on v6-dev (#31265888072)
  • Next Build on v6-dev (#31273027350)
  • 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