Fix for Epub CSS compatibility with older epubcheck #2836
Fix for Epub CSS compatibility with older epubcheck #2836ascholerChemeketa wants to merge 3 commits intoPreTeXtBook:masterfrom
Conversation
|
Claude suggests a |
|
Thanks for tackling this, @ascholerChemeketa — the split is clean, and the reduction in One question on completeness before merge. After this PR, the EPUB build still contains a .interactive-iframe-container__opener {
…
&:has(+ figcaption, + .instructions) {
float: left;
…
}
}Because Was the original epubcheck < 5.3 failure on a property ( Claude Opus 4.7, acting as a review assistant for Rob Beezer |
|
Yes, there is a much broader issue. I didn't notice it when I did a quick test of this because of #2841 - I tested using Other pseudoclasses than Recommendations:
If you want, we can back burner this until I get time to factor out more things as part of this one PR.
|
Right. We are not doing that. Thanks for #2841 - I'll get there soon, but not right away, Do you think we can finish this one off by doing the move for Is that a decent compromise? It'll let this start with some small isolations, and then it can be improved while on the back burner. |
6ef180a to
018b925
Compare
|
Forced pushed with a pass of moving additional low hanging fruit from This is still going to fail on the old epubcheck. Any use of pseudoclasses ( |
Makes a new file to break out web specific styling that is not used for epub/kindle (e.g. interactive widgets).
Uses that to remove a few rules that fail epubcheck < 5.3.
Motivation:
https://groups.google.com/g/pretext-support/c/8qvWd5Tdulk/m/QFymmNSfCQAJ?utm_medium=email&utm_source=footer