07-11-2016, 01:43 AM | #1 | |
Obsessively Dedicated...
Posts: 3,200
Karma: 34977896
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
Comparison of supported html and css tags in various ebook formats
I was googling around, and came upon these tables of ebook-format/platform comparisons at atavist.com (an online publishing platform).
CSS Support: http://help.atavist.com/ebook:css HTML Support: http://help.atavist.com/ebook:html I am not sure how current the information is (no dates displayed on their pages), but the site blog has articles posted in 2015 and 2016. Possibly useful? A very interesting point: Quote:
Last edited by GrannyGrump; 07-11-2016 at 02:20 AM. |
|
07-11-2016, 04:55 AM | #2 | |
Wizard
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
|
Quote:
|
|
07-11-2016, 09:33 PM | #3 |
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
ADE doesn't barf on all media queries; it has a very limited hack that explicitly ignores a few of the most basic queries, but things like "not" trip it up. And many of the other "at rules" explode in various ways, including @page.
More to the point, ADE does not follow the CSS specification's rules for how to handle unknown declarations; the spec makes it clear how to parse both at rules and normal rules, and how to find the end of that declaration. The spec also makes it clear that unknown rules should be ignored. ADE's parser does neither. IMO, Adobe needs to grab one of the many open source CSS parser implementations and use it, rather than reimplementing the wheel (badly). The way I solve this is to treat ADE as the baseline style, and put all my @media and @page queries into a separate CSS file that modifies the styles from there. I also put a few nonstandard styles that fix rendering on specific nonstandard rendering engines but cause ADE to barf. ADE, of course, barfs on that second CSS stylesheet and ignores it, but it doesn't matter, because none of those styles are intended to apply to ADE. Last edited by dgatwood; 07-11-2016 at 09:42 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML Tags and CSS Selectors | Doctor T | Kindle Formats | 3 | 10-25-2014 11:50 PM |
Can I see the CSS code for default html tags? | ElMiko | Sigil | 4 | 08-03-2014 10:54 AM |
Supported Kindle 8 HTML 5 tags | SamL | Kindle Fire | 6 | 11-08-2011 08:21 PM |
HTML tags and parameters supported by Mobi | hkdorama | Kindle Formats | 1 | 07-26-2010 05:48 AM |
Supported HTML/CSS tags and properties | Jellby | Bookeen | 9 | 05-04-2008 04:55 PM |