Re: Arrogant - HTML5 dom with CSS selectors

2018-06-13 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce

On 06/13/2018 02:25 PM, Andrea Fontana wrote:
On Wednesday, 13 June 2018 at 18:06:02 UTC, Nick Sabalausky (Abscissa) 
wrote:
Does this mean that it requires the raw HTML input to already be fully 
conformant HTML5 or simply that it supports and outputs valid HTML5?


The second one. If you parse invalid html it tries to fix it and output 
valid html5.


And that it can parse correctly any valid html5 syntax. Or at least it 
should!




Awesome. I'll have to check it out.


Re: Arrogant - HTML5 dom with CSS selectors

2018-06-13 Thread Andrea Fontana via Digitalmars-d-announce
On Wednesday, 13 June 2018 at 18:06:02 UTC, Nick Sabalausky 
(Abscissa) wrote:
Does this mean that it requires the raw HTML input to already 
be fully conformant HTML5 or simply that it supports and 
outputs valid HTML5?


The second one. If you parse invalid html it tries to fix it and 
output valid html5.


And that it can parse correctly any valid html5 syntax. Or at 
least it should!


Andrea



Re: Arrogant - HTML5 dom with CSS selectors

2018-06-13 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce

On 06/13/2018 09:23 AM, Andrea Fontana wrote:
> On behalf of the company I work for [1] today I released a new library:
> arrogant.
>

Nice!


It is a fully conformant HTML5 dom library with CSS selectors.



Does this mean that it requires the raw HTML input to already be fully 
conformant HTML5 or simply that it supports and outputs valid HTML5?