Thread: W3C Validator
View Single Post
Old 08-21-2018, 12:20 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JustinThought View Post
But today, as I went to run a report, I accidentally clicked on "Validate Stylesheets with W3C" instead, and I noticed that besides sending the stylesheet for verification, a second tab opened that showed me the verification status of the text area as well. (I'm happy to say that it came up clean!)
It opens a tab for each css file in your epub. "The Text Area" wording you're seeing on the W3C page does not mean it's checking the text of the file.

There's always been overlap between CSS 2.1 and 3.0 specs RE epubs. The preferences setting to choose which css level setting you want to use for validation was added so people could quiet those warnings if they wish. The problem is that not everything in CSS3 is valid in EPUB 2 (and not everything in CSS2/2.1 covers everything that's valid in EPUB2).

Quote:
Originally Posted by JustinThought View Post
Or would it be better for the menu item to instead send it for checking at level 3 (if that's driven from there)?
Judging by this response, I'm guessing you're unaware that you can choose which specification version you want the Validate Stylesheets feature to use when it send it to the W3C website. They're under Sigil's General Preferences tab. You can choose a different css spec versions for epub2 and epub3.

Last edited by DiapDealer; 08-21-2018 at 12:26 PM.
DiapDealer is offline   Reply With Quote