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

wikimedia / parsoid / 213
85%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2015 11:05AM UTC
Jobs 4
Files 70
Run time 1min
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
213

push

travis-ci

marcoil
<a href="https://github.com/wikimedia/parsoid/commit/7608aeabd">Deal with chameleon nodes that change output based on surroundings

* Normally, selser does not look at edit flags on the surrounding
  nodes to determine if the wikitext for the current node can be
  extracted from the original wikitext.

  However, this assumption breaks down for &lt;td&gt;/&lt;th&gt; nodes.
  For example, the second cell in a table row emitted as &quot;||&quot;
  would have to change its output to &quot;|&quot; if the first cell is
  deleted. Similarly for &lt;th&gt; nodes.

  This patch fixes selser to deal with this.

* In addition, tag handlers should also ignore data-parsoid flags
  (stx and startTagSrc properties) for such table cells in some
  scenarios.

* Also fixed long-standing bugs in before/after newline
  constraints for &lt;td&gt;/&lt;th&gt; cells which incidentally is what
  triggered the issue. Without these bugs, the other issues
  above would have remained hidden till a more subtle test case
  popped up.

* Also had to fix up use of source separators to deal with this
  same issue to force a newline separator where required.

* Added a new manual edit test case for non-selser serialization.
  A manual edit test case for selser serialization requires
  T72722 to be implemented, but a newly passing selser test
  shows that the code is working in some cases.

Bug: T85782
Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/f78aa9cbf">f78aa9cbf</a>

9801 of 11658 relevant lines covered (84.07%)

90574.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 213.1 02 Mar 2015 11:06AM UTC 0
84.07
Travis Job 213.1
2 213.2 02 Mar 2015 11:05AM UTC 0
84.05
Travis Job 213.2
3 213.3 02 Mar 2015 11:07AM UTC 0
84.05
Travis Job 213.3
4 213.4 02 Mar 2015 11:06AM UTC 0
84.05
Travis Job 213.4
Source Files on build 213
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #213
  • 7608aeab on github
  • Prev Build on master (#212)
  • Next Build on master (#214)
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