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

wikimedia / parsoid / 2376
85%

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

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

86056.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2376.1 19 Mar 2019 05:56PM UTC 0
84.51
Travis Job 2376.1
2 2376.2 19 Mar 2019 05:51PM UTC 0
84.51
Travis Job 2376.2
3 2376.3 19 Mar 2019 05:58PM UTC 0
84.51
Travis Job 2376.3
Source Files on build 2376
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2376
  • 10dedbbe on github
  • Prev Build on master (#2374)
  • Next Build on master (#2377)
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