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

bubkoo / html-to-image / 200 / 1
80%
master: 80%

Build:
DEFAULT BRANCH: master
Ran 17 May 2021 12:12PM UTC
Files 10
Run time 1s
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

17 May 2021 12:09PM UTC coverage: 79.855% (+0.6%) from 79.234%
200.1

push

travis-ci

web-flow
[Enhancement] Support Cloning Custom Elements (#129)

* feat(custom-elements): ✨ obtain children of shadow node for custom elements

Inspired by https://github.com/tsayen/dom-to-image/pull/370

If element has `shadowRoot` property it is custom
(and the shadow node is open) so fetch it's children.

Closes #128

* fix: 🐛 add safety checks to support special/custom elements

Introduced by 021f124
Access to shadow node exposes the code to custom elements that break the current code.
Was breaking because of elements without a style node.
This commit fixes these bugs with simple, NON-BREAKING safety checks.

* test(htmltoimage): 🚨 Added tests covering custom elements

renders mathfield custom element
https://github.com/arnog/mathlive

132 of 194 branches covered (68.04%)

Branch coverage included in aggregate %.

419 of 496 relevant lines covered (84.48%)

347.45 hits per line

Source Files on job 200.1
  • Tree
  • List 0
  • Changed 9
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 88
  • Travis Job 200.1
  • b93825eb on github
  • Prev Job for on master (#199.1)
  • Next Job for on master (#202.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc