Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Question about new strings in DOM

4 views
Skip to first unread message

Ricardo Palomares Martí­nez

unread,
Jun 23, 2011, 2:43:05 PM6/23/11
to
Hi,

I'm puzzled about some new strings in dom.properties. They all have a
similar structure, like this:

Use of attributes' appendChild() is deprecated. Use value instead.

Use of attributes' attributes attribute is deprecated. It always
returns null.

Use of attributes' childNodes attribute is deprecated. It always
returns null.

The first part, "Use of attributes'" is what I quite can't get. In the
first sentence I could rephrase the sentence as "Use of appendChild in
attributes is...".

But then, the second one shows it is probably wrong. At least, it has
little sense to me rephrasing it as "Use of atribute attributes in
attributes is...". Or has it?

How are other localizers dealing with these sentences?

TIA

flod

unread,
Jun 23, 2011, 2:58:19 PM6/23/11
to dev-...@lists.mozilla.org
Il 23/06/11 20.43, Ricardo Palomares Mart�nez ha scritto:

> How are other localizers dealing with these sentences?
Not a clue... I just saw those strings and I can't understand them either.

Francesco

Axel Hecht

unread,
Jun 23, 2011, 3:51:33 PM6/23/11
to
We're following up in https://bugzilla.mozilla.org/show_bug.cgi?id=661327.

Axel

Am 23.06.11 20:43, schrieb Ricardo Palomares Martᅵnez:

Pavel Franc

unread,
Jun 23, 2011, 3:55:16 PM6/23/11
to
Hey,
it is imho about deprecating all those weird attributes/methods of
attribute node.

<div id="xxx"></div>
<script>
document.write(document.getElementById('xxx').attributes['id'].hasChildNodes());
document.write(document.getElementById('xxx').attributes['id'].attributes);
</script>

> Use of attributes' attributes attribute is deprecated.

I would say:

Use of attributes attribute of attribute node is deprecated.


Pavel

Dne 23.6.2011 20:43, Ricardo Palomares Martᅵnez napsal(a):


> Hi,
>
> I'm puzzled about some new strings in dom.properties. They all have a
> similar structure, like this:
>
> Use of attributes' appendChild() is deprecated. Use value instead.
>

Jesper Kristensen

unread,
Jun 23, 2011, 6:17:50 PM6/23/11
to
Den 23-06-2011 20:43, Ricardo Palomares Martᅵnez skrev:
> Use of attributes' appendChild() is deprecated. Use value instead.
>
> Use of attributes' attributes attribute is deprecated. It always
> returns null.
>
> Use of attributes' childNodes attribute is deprecated. It always
> returns null.

I would probably choose:

Attr::appendChild() is deprecated. Use Attr::value instead.

Attr::attributes is deprecated. It always returns null.

Attr::childNodes is deprecated. It always returns null.

0 new messages