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

wikimedia / parsoid / 2376 / 2
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2019 05:51PM UTC
Files 116
Run time 11s
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

19 Mar 2019 05:05PM UTC coverage: 84.507%. Remained the same
2376.2

push

travis-ci

cscott
Add DOMCompat classes to support the DOM methods missing from PHP DOM

Adds some missing methods from DOM level 3 and from HTMLElement in the
HTML spec. Only includes methods actually used by Parsoid, to keep
complexity down.

Ideally we'd just extend the PHP DOM classes, but DOM objects create
other DOM objects and we have no way of turning those into our extended
types, so we just provide static helpers with identical names instead.
E. g.

    $fooElmt = $elmt->querySelector( '.foo' );
    $innerHtml = $fooElmt->innerHtml;

becomes

    $fooElmt = DOMCompat::querySelector( $elmt, '.foo' );
    $innerHtml = DOMCompat::getInnerHtml( $fooElmt );

Bug: T215000
Change-Id: I7deccaca1

9548 of 12008 branches covered (79.51%)

14858 of 17582 relevant lines covered (84.51%)

28685.39 hits per line

Source Files on job 2376.2
  • Tree
  • List 0
  • Changed 48
  • Source Changed 0
  • Coverage Changed 48
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2231
  • Travis Job 2376.2
  • 10dedbbe on github
  • Prev Job for on master (#2374.2)
  • Next Job for on master (#2377.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