tidy-html5/src
lhchavez e51cd17c2d
Support the <slot> tag (#848)
* Support the <slot> tag

<slot> was added to the WHATWG HTML5 Living Standard on April 20, 2016.

* Also support the slot= attribute

Given that the <slot> tag by itself is not too useful, this commit also
introduces support for the global slot attribute.

* Using ParseBlock for <slot>

This is still suboptimal since ParseBlock will make it so that <slot>
always expects "Flow content", whereas the spec says that it should
have a Transparent content model.

In practice, it should allow all the cases that the spec allows for, but
it will also allow some cases that the spec does not allow. Notably, if
a <slot> tag is found in a Phrasing content (an inline context in
libtidy lingo), it will wrongly let Flow content (block tags in libtidy
lingo), whereas it shouldn't. But all in all, it's a good compromise.
2020-11-21 16:31:28 +01:00
..
access.c Wipe out dead code. We use git for a reason, so it's never really deleted. 2017-10-03 13:56:31 -04:00
access.h Removed option for SUPPORT_ACCESSIBILITY_CHECKS, regen'd strings. 2017-10-03 12:45:34 -04:00
alloc.c Issue #604 - Try to fix. Initial cut. WIP 2017-10-13 20:50:53 +02:00
attrdict.c Support the <slot> tag (#848) 2020-11-21 16:31:28 +01:00
attrdict.h Support the <slot> tag (#848) 2020-11-21 16:31:28 +01:00
attrs.c Support the <slot> tag (#848) 2020-11-21 16:31:28 +01:00
attrs.h Support the <slot> tag (#848) 2020-11-21 16:31:28 +01:00
buffio.c Rename two headers. Issues #224 #223 #221 2015-06-30 20:06:02 +02:00
charsets.c Remove CVS info blocks 2012-08-08 17:27:29 +01:00
charsets.h Remove CVS info blocks 2012-08-08 17:27:29 +01:00
clean.c Update clean.c 2019-12-17 15:25:58 -05:00
clean.h Wipe out dead code. We use git for a reason, so it's never really deleted. 2017-10-03 13:56:31 -04:00
config.c Is #752 - Replace _MSC_VER with _WIN32 2018-09-04 20:22:56 +02:00
config.h Is #673 - Revert 350f7b4 and 86e62db 2018-02-14 18:54:01 +01:00
entities.c Issue #643 - Only break lookup if 'code' AND 'version' found. 2017-11-17 02:46:14 +01:00
entities.h Remove CVS info blocks 2012-08-08 17:27:29 +01:00
fileio.c Issue #604 - Try to fix. Initial cut. WIP 2017-10-13 20:50:53 +02:00
fileio.h Rename two headers. Issues #224 #223 #221 2015-06-30 20:06:02 +02:00
forward.h Cleanup 2017-10-29 14:58:02 -04:00
gdoc.c Correctly process 'bookmarks' in html exported from Google Doc. 2017-04-19 14:47:27 -10:00
gdoc.h Remove CVS info blocks 2012-08-08 17:27:29 +01:00
istack.c Removed dependency on NDEBUG, and introduced ENABLE_DEBUG_LOG in CMakeLists.txt. 2017-10-07 14:56:01 -04:00
language.c Change "tidyLocalMapItem" to "tidyLocaleMapItem" 2019-05-25 13:06:54 +00:00
language.h Change "tidyLocalMapItem" to "tidyLocaleMapItem" 2019-05-25 13:06:54 +00:00
language_en.h Is. #876: add legacy qual. to 'quote-ampersand' opt. 2020-09-28 19:47:37 +02:00
language_en_gb.h Is #663 - Remove UTF-8 BOM from 6 lang. headers 2017-12-23 18:28:32 +01:00
language_es.h Is #663 - Remove UTF-8 BOM from 6 lang. headers 2017-12-23 18:28:32 +01:00
language_es_mx.h Is #663 - Remove UTF-8 BOM from 6 lang. headers 2017-12-23 18:28:32 +01:00
language_fr.h Is #663 - Remove UTF-8 BOM from 6 lang. headers 2017-12-23 18:28:32 +01:00
language_pt_br.h Is #663 - Remove UTF-8 BOM from 6 lang. headers 2017-12-23 18:28:32 +01:00
language_zh_cn.h Is #663 - Remove UTF-8 BOM from 6 lang. headers 2017-12-23 18:28:32 +01:00
lexer.c Merge pull request #884 from ltx2018/next 2020-10-02 18:07:33 +02:00
lexer.h Issue #643 - Add VERS_HTML5 to VERS_FROM40 2017-11-17 02:52:32 +01:00
mappedio.c Documentation formatting. 2017-10-03 15:30:21 -04:00
mappedio.h Remove CVS info blocks 2012-08-08 17:27:29 +01:00
message.c Is #797 - use 'TidyRealloc' in place of raw 'realloc' 2019-01-31 20:01:02 +01:00
message.h Add missing iterators for recently added options mute and priority attributes. 2017-11-19 10:21:46 -05:00
messageobj.c Is #719 - Set 'muted' before any callback 2018-04-26 14:20:14 +02:00
messageobj.h Renamed the proposed squelch and squelch-id to mute and mute-id, 2017-10-10 08:21:14 -04:00
parser.c Issue #604 - Try to fix. Initial cut. WIP 2017-10-13 20:50:53 +02:00
parser.h Cosmetic update for doxygen. 2017-11-17 22:00:29 -05:00
pprint.c Is #697 - Add NOWRAP to print of pre tag 2018-03-20 19:52:35 +01:00
pprint.h Wipe out dead code. We use git for a reason, so it's never really deleted. 2017-10-03 13:56:31 -04:00
sprtf.c Issue #604 - Remove 'sprtf' code if not ENABLE_DEBUG_LOG 2017-10-14 12:27:19 +02:00
sprtf.h Issue #604 - Remove 'sprtf' code if not ENABLE_DEBUG_LOG 2017-10-14 12:27:19 +02:00
streamio.c Issue #403 PR #641 - Hot fix for column tabs count 2017-11-22 15:00:14 +01:00
streamio.h Documentation formatting. 2017-10-03 15:30:21 -04:00
tagask.c Removed deprecated NodeIsElementName from API. 2017-02-18 16:33:21 -05:00
tags.c Support the <slot> tag (#848) 2020-11-21 16:31:28 +01:00
tags.h Issue#649: added <data> tag 2018-11-06 20:54:36 -05:00
tidy-int.h Cleanup 2017-10-29 14:58:02 -04:00
tidylib.c Is. #746 PR #747 - fix other dup 'const' modifier 2019-01-14 19:46:10 +01:00
tmbstr.c use default allocator in place of strdup/free 2017-10-26 00:54:55 +09:00
tmbstr.h Rename two headers. Issues #224 #223 #221 2015-06-30 20:06:02 +02:00
utf8.c Fix typo, in purely DEBUG code, while exploring #863 2020-10-03 20:48:08 +02:00
utf8.h Rename two headers. Issues #224 #223 #221 2015-06-30 20:06:02 +02:00
version.h Rename two headers. Issues #224 #223 #221 2015-06-30 20:06:02 +02:00