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

wikimedia / parsoid / 2691 / 3
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2019 06:26PM UTC
Files 153
Run time 9s
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

09 Jun 2019 04:00AM UTC coverage: 84.627% (+0.03%) from 84.596%
2691.3

push

travis-ci

subbuss
<a href="https://github.com/wikimedia/parsoid/commit/eaf890470">Followup to 2a2d8799: Improve DSR computation precision

* I noticed new cs/s DSR inconsistency warnings while testing
  PHP htm2wt code. It turns out that &lt;figcaption&gt; DSR values were
  incorrect in some cases, Ex: [[File:Foobar.jpg|right|Caption|200px]]

  In that example, the 200px isn&#39;t present in the DOM subtree
  of &lt;figure&gt; which confuses the DSR computation.

* It turns out that there is some really old defensive code in DSR
  computation which ignores tsr[1] value and prefers a computed
  value conditionally.

  Since our tsr/dsr computation code has lot of its bugs shaken out,
  I removed that defensive code and preferred tsr[1] if set and if
  it is the right thing to pick (if the tsr value spans the entire
  DOM subtree). That required me to improve the tsrSpansTagDOM
  function.

  While at it, I added tag widths for language variant markup and
  updated parser tests that had &#39;null&#39; value set.

* The parser test blacklist changes are all improvements. Specifically,
  note the change in &quot;SVG thumbnails with invalid language code&quot;.
  The figcaption offset is correct now compared to the incorrect value
  previously.

* This change also eliminates the FIGCAPTION cs/s DSR inconsistency
  warnings that triggered this inspection.

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

9537 of 12011 branches covered (79.4%)

14918 of 17628 relevant lines covered (84.63%)

31097.35 hits per line

Source Files on job 2691.3
  • Tree
  • List 0
  • Changed 33
  • Source Changed 1
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2506
  • Travis Job 2691.3
  • eaf89047 on github
  • Prev Job for on master (#2690.2)
  • Next Job for on master (#2692.2)
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