Re: attributes without values

Ashish Agarwal <[email protected]> Mon, 5 May 2014 18:44:05 -0400
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <CAMu2m2+CvokdfovS9hgCj+KDm+0bMxsfqhMYKw_k_sQ0BE=rnw@mail.gmail.com>
--===============1932166173224887640==
Content-Type: multipart/alternative; boundary=001a1135086e8e212804f8aedf8f

--001a1135086e8e212804f8aedf8f
Content-Type: text/plain; charset=UTF-8

On Mon, May 5, 2014 at 3:01 PM, Christophe Troestler <
[email protected]> wrote:

In practice, I have found that it generally does not matter because
> this type of shortcut is only used when the presence of the attribute
> counts but not its value.  @Ashish What about data- attributes?


As far as I can tell there is nothing special about data-* attributes that
would affect parsing and printing. They are just like any other attribute.
Their only purpose is they indicate an attribute that should be "private to
the page", meaning external consumers of the page should ignore them.

--001a1135086e8e212804f8aedf8f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On M=
on, May 5, 2014 at 3:01 PM, Christophe Troestler <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:[email protected]" target=3D"_blank">Christoph=
[email protected]</a>&gt;</span> wrote:<br>

<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
In practice, I have found that it generally does not matter because<br>
this type of shortcut is only used when the presence of the attribute<br>
counts but not its value. =C2=A0@Ashish What about data- attributes?</block=
quote><div><br></div><div>As far as I can tell there is nothing special abo=
ut data-* attributes that would affect parsing and printing. They are just =
like any other attribute. Their only purpose is they indicate an attribute =
that should be &quot;private to the page&quot;, meaning external consumers =
of the page should ignore them.</div>

</div></div></div>

--001a1135086e8e212804f8aedf8f--


--===============1932166173224887640==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
--===============1932166173224887640==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ocamlnet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel

--===============1932166173224887640==--