Coder Social home page Coder Social logo

remove MO test mo-basic-240 about epub-testsuite HOT 6 CLOSED

idpf avatar idpf commented on June 26, 2024
remove MO test mo-basic-240

from epub-testsuite.

Comments (6)

OriIdan avatar OriIdan commented on June 26, 2024

If it does not test anything in the spec. I would opt to remove it.

from epub-testsuite.

danielweck avatar danielweck commented on June 26, 2024

"mo-basic-040 Volume Control

Tests whether the volume of the Media Overlay playback can be independently
adjusted.

If you can independently adjust the MO volume, then the Reading System
supports volume control."

spec. is explicit only for embedded media:
"
Reading Systems should expose User controls for the volume levels of each
independent audio track (i.e. from the audio element of the Media Overlay,
and from the embedded audio or video media within the EPUB Content
Document), ... ... Reading Systems are not required to handle simultaneous
volume levels in any particular way.
"

otherwise, just this implicit reference:
"
User-controllable audio playback options should include timescale
modification, in which the playback rate is altered without distorting the
pitch.
"

i am not against removing basic-240
daniel

On Monday, March 17, 2014, Marisa DeMeglio [email protected] wrote:

It doesn't test anything in the spec; it's just a reading system behavior
test.

Reply to this email directly or view it on GitHubhttps://github.com//issues/53
.

from epub-testsuite.

mattgarrish avatar mattgarrish commented on June 26, 2024

Is the question 040 or 240?

I’d keep 040 as there should be a test for independent volume control, but 240 doesn’t make a lot of sense to me.

Was it meant to test whether the user can change the highlighting colour? That would be a helpful thing, and would be more in line with “custom” styles, but the current wording about reading system default styles isn’t useful. We already test if RS highlighting is possible in 220.

Matt

from epub-testsuite.

danielweck avatar danielweck commented on June 26, 2024

Damn...040 vs. 240
Apologies for my brain fart. We are indeed talking about this:

https://github.com/mgylling/epub-testsuite/blob/master/content/30/epub30-test-0220/EPUB/xhtml/basic_tests.xhtml#L34

Well, Readium implements default "media overlays active" styling (when the CSS class is not specified in the source material), but the specification doesn't say that we "should":

http://www.idpf.org/epub/30/spec/epub30-mediaoverlays.html#sec-docs-assoc-style

Test #240 is in fact nonsensical, because the CSS class is declared in the OPF:

https://github.com/mgylling/epub-testsuite/blob/master/content/30/epub30-test-0220/EPUB/package.opf#L15

Note that Readium also implements style overrides, but that's a different story.

from epub-testsuite.

mattgarrish avatar mattgarrish commented on June 26, 2024

This also has me questioning 230. Should we use yellow as the test for author control over the highlighting? It seems like a common enough RS-default colour that you might get false positives, or not be able to say for sure if you're paying attention. Hot pink is always nice.

from epub-testsuite.

marisademeglio avatar marisademeglio commented on June 26, 2024

I think test 240 was looking more towards testing user agent overrides but really I think things like this will be covered by the upcoming accessibility testsuite.

Hot pink would look nice on 230!

from epub-testsuite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.