<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/issue-53812.rs, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<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>Update rustdoc tests</title>
<updated>2021-06-02T18:30:18+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2021-06-02T08:59:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=14fe83f7e49c384484bde8a5e0663393dc1a213d'/>
<id>urn:sha1:14fe83f7e49c384484bde8a5e0663393dc1a213d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace h3 and h4 containing invalid DOM</title>
<updated>2021-06-01T19:19:28+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2021-04-23T20:15:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9077d540da944c41678a7129e04e7fc5d7e38582'/>
<id>urn:sha1:9077d540da944c41678a7129e04e7fc5d7e38582</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update impl DOM test</title>
<updated>2021-04-27T13:27:08+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2021-04-27T13:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9051d4073b2dc8e9fdc0061ce3747d5770a9004b'/>
<id>urn:sha1:9051d4073b2dc8e9fdc0061ce3747d5770a9004b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: use details tag for trait implementors</title>
<updated>2021-04-20T02:46:51+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2021-04-18T06:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=569096cbaffe39fbede339430c5ed8e80d991a80'/>
<id>urn:sha1:569096cbaffe39fbede339430c5ed8e80d991a80</id>
<content type='text'>
This switches from JS-generated toggles to using the HTML &lt;details&gt; tag
for expanding and collapsing entries in the "Implementors" section.
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Check the remaining nodes</title>
<updated>2018-09-16T07:39:12+00:00</updated>
<author>
<name>Kazuyoshi Kato</name>
<email>kato.kazuyoshi@gmail.com</email>
</author>
<published>2018-09-16T07:39:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2fe450370319c30756a716e0525cc6d23046f104'/>
<id>urn:sha1:2fe450370319c30756a716e0525cc6d23046f104</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a test to prevent regression</title>
<updated>2018-09-15T05:42:44+00:00</updated>
<author>
<name>Kazuyoshi Kato</name>
<email>kato.kazuyoshi@gmail.com</email>
</author>
<published>2018-09-15T05:42:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bbcb6339aa6f1062a220ce5d16fea3b645c32281'/>
<id>urn:sha1:bbcb6339aa6f1062a220ce5d16fea3b645c32281</id>
<content type='text'>
The way it defines implementations is unrealistic though.
</content>
</entry>
</feed>
