:no_entry_sign: UNMAINTAINED :no_entry_sign: This used to check MDN docs against some tests and cleanup tasks while editing, but add-on SDK based add-ons are obsolete. Use https://github.com/mdn/doc-linter-webextension and https://github.com/mdn/doc-linter-rules instead.
Mozilla Public License 2.0
10
stars
8
forks
source link
Errors for name attributes in example headings EmbedLiveSample needs #224
As far I can glean, it seems like the EmbedLiveSample may (at least on some cases) rely on looking at the name attribute of an example heading, and not just the id.
At least I can say in the case of the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe page, it seems like when I remove the name="Example1" and name="Example2" attributes, the EmbedLiveSample macros on the page end up showing no content (I assume because they are looking for name="Example1"andname="Example2"` and not finding them).
So if the name attribute is necessary for EmbedLiveSample macros in some cases then the documentation tester should not flag those cases as errors.
As far I can glean, it seems like the
EmbedLiveSample
may (at least on some cases) rely on looking at thename
attribute of an example heading, and not just theid
.At least I can say in the case of the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe page, it seems like when I remove the
name="Example1"
andname="Example2"
attributes, theEmbedLiveSample
macros on the page end up showing no content (I assume because they are looking for name="Example1"and
name="Example2"` and not finding them).So if the
name
attribute is necessary forEmbedLiveSample
macros in some cases then the documentation tester should not flag those cases as errors.