edrlab / thorium-reader-epub-tests

W3C tests for EPUB 3.3 applied to Thorium Reader
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

(epub-test-fail: scr-readingsystem-support_iframe_svg) #25

Open gautierchomel opened 2 years ago

gautierchomel commented 2 years ago

The scr-readingsystem-support_iframe_svg fails at

image

Script in XHTML is window.addEventListener('load', test_ers);

And SVG related lines are

  <g transform="translate(0, 50)" style="display:none" id="ers_passes">
    <ellipse cx="150" cy="100" rx="60" ry="30" fill="green" />
    <g transform="translate(0,-38)">
      <text x="150" y="125">The reading system</text>
      <text x="150" y="132">implements the <tspan class="ers">epubReadingSystem</tspan> object.</text>
      <text x="150" y="139">Reading System Name: <tspan id="ers_name"></tspan></text>
      <text x="150" y="146">Reading System Version: <tspan id="ers_version"></tspan></text>
      <text x="150" y="153">Test passes unless one of the values is undefined.</text>
    </g>
gautierchomel commented 1 year ago

The related scr-readingsystem-support_iframe test also fails.

danielweck commented 1 year ago

HTML fix: https://github.com/edrlab/thorium-reader/commit/4269a69ce72e561eeeae027b8b2e47ab4bb1de71 SVG fix: https://github.com/edrlab/thorium-reader/commit/38ef54cd20035bef962db3a9319072c5d8a0398d

danielweck commented 1 year ago

Gautier, I am not closing this issue right away so you can update your own report. Please run the test at your end using a recent automated Thorium build, and confirm the bugfix. Thank you :) ...currrently building: https://github.com/edrlab/thorium-reader/actions