<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/issue-86620.rs, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Emit valid HTML from rustdoc</title>
<updated>2022-02-02T08:29:33+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2022-02-02T06:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=32f62607c3142dfc9eb56a0bd72dee298ca43358'/>
<id>urn:sha1:32f62607c3142dfc9eb56a0bd72dee298ca43358</id>
<content type='text'>
Previously, tidy-html5 (`tidy`) would complain about a few things in our
HTML. The main thing is that `&lt;summary&gt;` tags can't contain `&lt;div&gt;`s.
That's easily fixed by changing out the `&lt;div&gt;`s for `&lt;span&gt;`s with
`display: block`.

However, there's also a rule that `&lt;span&gt;`s can't contain heading
elements. `&lt;span&gt;` permits only "phrasing content"
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span, and
`&lt;h3&gt;` (and friends) are "Flow content, heading content, palpable
content".
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

We have a wrapping `&lt;div&gt;` that goes around each `&lt;h3&gt;`/`&lt;h4&gt;`,
etc. We turn that into a `&lt;section&gt;` rather than a `&lt;span&gt;` because
`&lt;section&gt;` permits "flow content".
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section

After this change we get only three warnings from tidy, run on
struct.String.html:

line 6 column 10790 - Warning: trimming empty &lt;span&gt;
line 1 column 1118 - Warning: &lt;link&gt; proprietary attribute "disabled"
line 1 column 1193 - Warning: &lt;link&gt; proprietary attribute "disabled"

The empty `&lt;span&gt;` is a known issue - there's a span in front of the
search box to work around a strange Safari issue.

The `&lt;link&gt;` attributes are the non-default stylesheets. We can probably
refactor theme application to avoid using this proprietary "disabled"
attribute.
</content>
</entry>
<entry>
<title>add check on anchor link</title>
<updated>2021-07-06T20:13:08+00:00</updated>
<author>
<name>François Mockers</name>
<email>mockersf@gmail.com</email>
</author>
<published>2021-07-05T00:09:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=441a350e2c15f88b550921f911edc9e039164f15'/>
<id>urn:sha1:441a350e2c15f88b550921f911edc9e039164f15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add mcve as test</title>
<updated>2021-07-06T20:13:08+00:00</updated>
<author>
<name>François Mockers</name>
<email>mockersf@gmail.com</email>
</author>
<published>2021-07-04T23:30:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc97fbeef3cbd21d94a321faead3ee64b1a14a61'/>
<id>urn:sha1:fc97fbeef3cbd21d94a321faead3ee64b1a14a61</id>
<content type='text'>
</content>
</entry>
</feed>
