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

bubkoo / html-to-image / 200
80%

Build:
DEFAULT BRANCH: master
Ran 17 May 2021 12:11PM UTC
Jobs 1
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

pending completion
200

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 %.

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

419 of 496 relevant lines covered (84.48%)

347.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 200.1 17 May 2021 12:11PM UTC 0
79.86
Travis Job 200.1
Source Files on build 200
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #200
  • b93825eb on github
  • Prev Build on master (#199)
  • Next Build on master (#202)
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

© 2025 Coveralls, Inc