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

wikimedia / parsoid / 822
85%

Build:
DEFAULT BRANCH: master
Ran 09 Dec 2015 08:41AM UTC
Jobs 4
Files 74
Run time 10min
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
822

push

travis-ci

arlolra
Record first wikitext node in multi-template-content-block scenario

* When a DOM tree is constructed from top-level page content
  and one or more templates, during serialization, newline
  constraints should be determined by the first node in the
  data-mw.parts array (which could be a wikitext string or
  a template).

  In the common case, it would work to use the first DOM node
  (the one that has the data-mw encapsulation info) to determine
  these newline constraints. However, fostering of content
  complicates matters (as usual) because the fostered marker
  is absent on fostered content from templates when the table
  is template-encapsulated. So, we need to explicitly record
  DOM information about the first element of the data-mw.parts array.

  Note that if data-parsoid is lost / missing, then newline constraints
  will continue to be incorrect in some scenarios (as is the case
  on current master).

* Added two new tests that verify expected behavior and pass with
  this patch, but fail on master.

  The bug report from T107818 that triggered this patch won't be fixed
  till the patch for T86271 is merged. That patch removes the
  special-case-check for sol-transparent nodes in separator
  constraint computation.

* There is a new failing wt2wt test. The newline introduced there
  seems reasonable and an acceptable diff.

Bug: T107818
Change-Id: I6d39913b8

12686 of 15329 relevant lines covered (82.76%)

84724.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 822.1 09 Dec 2015 08:41AM UTC 0
82.76
Travis Job 822.1
2 822.2 09 Dec 2015 08:43AM UTC 0
82.76
Travis Job 822.2
3 822.3 09 Dec 2015 08:51AM UTC 0
82.73
Travis Job 822.3
4 822.4 09 Dec 2015 08:51AM UTC 0
82.73
Travis Job 822.4
Source Files on build 822
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #822
  • a0c626e4 on github
  • Prev Build on master (#821)
  • Next Build on master (#823)
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