-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "acid" test is not specific enough (not "unit" testing) + fails with typical stylesheet overrides from reading system "user agent" and/or user formatting preferences #164
Comments
I'm fine with that. As I mentioned, it was one way of showing that an RS supports "a lot" of CSS, but it is a strange test (and had to be edited to be XHTML, etc.) |
I have created a PR to do so (#167). However, we have now a MUST statement on being conform to CSS that has now corresponding test (actually, we have the statement twice: one in the introductory statement in the paragraph and then one in the core text of §6.3. This contradicts to the requirement for having a test for each MUST statement. I am not sure whether this is a problem and what we should put there instead. (Almost all our tests use CSS in some way. One could argue that CSS support is amply shown through the test suite... but maybe removing the first bullet item, which is a repetition of what is said in the yellow banner, makes things a big cleaner. This is reminiscent on the discussion in w3c/epub-specs#2330) |
I agree with removing this; I have similar thoughts, but haven't found time to create a replacement test. Note that I think it's fine to use a basic test for two different normative statements, if it reasonably tests the same things; not as good as having unique tests, but IMO fine. I don't think there's a meaningful difference between "you must support rendering CSS" and "you must support CSS as defined in the CSS spec"; one basic test seems sufficient to me. |
me too. But, with the removal of this test, there is no test for the statements in §6.3. Even if we decide to remove the bullet item:
(which I would agree with), we may still to either have, or assign another test, for the statement in the intro part of the section, i.e.,
So far, the acid test was used for both. |
Screenshot from Apple iBooks / MacOS Books.app (same broken rendition with Thorium):
The rationale for including the Acid test in the EPUB test suite was mentioned in this PR #7
This Acid test was indeed a useful exercise that offered a vivid visual demonstration of the shortcomings of some competing CSS implementations in web browsers and other rendering engines. However I think the value of Acid test in the context of the EPUB test suite is arguably debatable because it is not clear what feature is tested exactly. Furthermore, reading systems typically apply a default "user agent" stylesheet (+ additional overrides based on user preferences) that cause different rendering than vanilla web browsers. For example, pagination using CSS columns usually involves overriding margins, etc.
My recommendation would be to eliminate the Acid test from this test suite.
The text was updated successfully, but these errors were encountered: