Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify NodeValidatorBuilder default rules #13207

Closed
sethladd opened this issue Sep 10, 2013 · 3 comments
Closed

Clarify NodeValidatorBuilder default rules #13207

sethladd opened this issue Sep 10, 2013 · 3 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. docs-api library-html type-documentation A request to add or improve documentation

Comments

@sethladd
Copy link
Contributor

Regarding: http://api.dartlang.org/docs/bleeding_edge/dart_html/NodeValidatorBuilder.html

The default constructor says: "Construct a default NodeValidator which only accepts whitelisted HTML5 elements and attributes."

But the class docs say: "By default this will not accept anything"

What is the default behavior?

Can, can you be more specific what "whitelisted HTML5 elements and attributes" are?

Thanks!

@blois
Copy link
Contributor

blois commented Sep 11, 2013

Yes, for reference the 'default' should be NodeValidatorBuilder.common().

@kwalrath
Copy link
Contributor

kwalrath commented Jun 4, 2014

Removed Type-Enhancement, Area-Documentation labels.
Added Type-Documentation, Area-Library, Library-Html labels.

@sethladd sethladd added type-documentation A request to add or improve documentation Priority-Unassigned area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. docs-api library-html labels Jun 4, 2014
@srawlins
Copy link
Member

The docs for the class no longer mention "whitelisted" and the common constructor docs are pretty extensive now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. docs-api library-html type-documentation A request to add or improve documentation
Projects
None yet
Development

No branches or pull requests

5 participants