tidy-html5/include
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
..
buffio.h Improve doxy comment formating - no code changes 2016-09-11 17:20:43 +02:00
platform.h Improve doxy comment formating - no code changes 2016-09-11 17:20:43 +02:00
tidy.h Change "tidyLocalMapItem" to "tidyLocaleMapItem" 2019-05-25 13:06:54 +00:00
tidybuffio.h Documentation-only changes to the public headers for consistency with other 2017-09-30 09:35:00 -04:00
tidyenum.h Support the <slot> tag (#848) 2020-11-21 16:31:28 +01:00
tidyplatform.h added OS __ANDROID__ to tidyplatform.h 2019-05-08 12:08:03 +05:00