is it a goal to generate valid html?

26 views
Skip to first unread message

Hochhaus, Andrew

unread,
Jun 7, 2012, 4:52:47 PM6/7/12
to closure-lib...@googlegroups.com
Is it one of the goals of closure-library to generate valid html (eg:
in a component's createDom)? Or is the mindset that as long as the
code works it need not be overly concerned about HTML validity?

I'm asking because I've found a few spots where the library generates
HTML that does not pass the w3 validation service. For one example,
goog.ui.ComboBox#createDom nests a DIV inside a SPAN.

I can provide patches for the cases I have found if this is a goal of
the project.

Thanks,
-Andy
Reply all
Reply to author
Forward
0 new messages