W3C home > Mailing lists > Public > public-html-ig-jp@w3.org > December 2009

WHATWG へのメール投稿が承認される条件

From: ATSUSHI TAKAYAMA <taka.atsushi@googlemail.com>
Date: Wed, 2 Dec 2009 09:58:31 -0500
Message-ID: <9cef076f0912020658w15673f38k4ff43270d6d0bb44@mail.gmail.com>
To: public-html-ig-jp@w3.org

先日北村さんが投稿された、空要素のタグの書き方の件で WHATWG にメールをしてみたのですが、approval
WHATWG へメールを出したことがあるのですが、その時も何も知らされず反映もしませんでした。

このグループへの質問なのですが、皆さんが whatwg at whatwg.org へメールを送ったときは、どのくらいで承認されますか? 毎回承認されますか?

承認されないことが多いのであれば、もう WHATWG にメールするのはやめようと思います。


Hi WHATWG members,

This was posted by Akatsuki Kitamura on the W3C Japanese Interest
Group Mailing List.

The section 9.2.1 of HTML5 spec says;

Start tags must have the following format:
1. The first character of a start tag must be a U+003C LESS-THAN SIGN
character (<).
2. The next few characters of a start tag must be the element's tag name.
3. If there are to be any attributes in the next step, there must
first be one or more space characters.
4. Then, the start tag may have a number of attributes, the syntax for
which is described below. Attributes may be separated from each other
by one or more space characters.
5. After the attributes, there may be one or more space characters.
(Some attributes are required to be followed by a space. See the
attributes section below.)
6. Then, if the element is one of the void elements, or if the element
is a foreign element, then there may be a single U+002F SOLIDUS
character (/). This character has no effect on void elements, but on
foreign elements it marks the start tag as self-closing.
7. Finally, start tags must be closed by a U+003E GREATER-THAN SIGN
character (>).

As far as I understand, if I want to write a void element with no
attribute, such as the br, I do steps 1 ("<" character) and 2 (tag
name), then ignore 3 and 4. In the step 5, since I don't have any
attributes, the "after the attribute" situation does not apply here,
so I ignore it too. Then I close the tag by going through step 6 ("/"
character) and step 7 (">" character).

Akatsuki's question was that if you write space characters before
closing the tag like the following, if they are still valid or not.

<br >
<br />

I think the step 5 should be written as;

After the attributes, or after the element's tag name if there are no
attributes, then there may be one or more space characters.
Received on Wednesday, 2 December 2009 14:59:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:05:27 UTC