Silvio Moioli wrote:
% On 02/17/2014 04:43 PM, Matej Kollar wrote:
% >   * standard allows closing of tags,
% 
% Let me rephrase this: standard allows adding an optional trailing slash
% to void elements, that by definition do not have end tags, as syntax
% sugar[0].
% 
% Non-void elements must have a start and end tag - "closing" and
% "self-closing" are not defined by the standard.
% 
% So standard allows both adding and not adding, and IMO it's a matter of
% choosing a coding convention.
...
% Thread renamed to keep the two discussions separated.
% 
% On the other hand, I would argue that:
% 
%  * those slashes are really superfluous;
%  * a good portion of Web projects outside Spacewalk are following the
% same convention, among others Bootstrap itself[1] and HTML5
% Boilerplate[2], which is also used in Initializr[3] which in turn are
% used in lots of projects.
% 
% I do acknowledge that debate is ongoing[4] and there is no ultimate
% agreement in the wider Web development community, so I do not want to
% start and endless discussion here trying to solve that.
% 
% So all I have is one last question:
% 
% Is this your own personal opinion or the whole Spacewalk team official
% position? In particular, will future patches be rejected if they have
% those trailing slashes?

Hi Silvio,

Using self-closed tags for void elements as well as using end tags even
in situations where they can be omitted in HTML5 is common agreement
among whole team. They improve readability - you immediately know what
was intentional and what a mistake.

As for patch rejection - no, most likely the other way round :).

Regards,

--
Michael Mráka
Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to