123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
-
- h t t :: / / t /
- h t t :: // // t //
- h ttttt ttttt ppppp sssss // // y y sssss ttttt //
- hhhh t t p p s // // y y s t //
- h hh t t ppppp sssss // // yyyyy sssss t //
- h h t t p s :: / / y .. s t .. /
- h h t t p sssss :: / / yyyyy .. sssss t .. /
-
- <https://y.st./>
- Copyright © 2017 Alex Yst <mailto:copyright@y.st>
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org./licenses/>.
- -->
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <base href="https://y.st./en/a/CSS_test.xhtml" />
- <title>CSS test <https://y.st./en/a/CSS_test.xhtml></title>
- <link rel="icon" type="image/png" href="/link/CC_BY-SA_4.0/y.st./icon.png" />
- <link rel="stylesheet" type="text/css" href="/link/basic.css" />
- <link rel="stylesheet" type="text/css" href="/link/site-specific.css" />
- <script type="text/javascript" src="/script/javascript.js" />
- <meta name="viewport" content="width=device-width" />
- </head>
- <body>
- <nav>
- <p>
- <a href="/en/">Home</a> |
- <a href="/en/a/about.xhtml">About</a> |
- <a href="/en/a/contact.xhtml">Contact</a> |
- <a href="/a/canary.txt">Canary</a> |
- <a href="/en/URI_research/"><abbr title="Uniform Resource Identifier">URI</abbr> research</a> |
- <a href="/en/opinion/">Opinions</a> |
- <a href="/en/coursework/">Coursework</a> |
- <a href="/en/law/">Law</a> |
- <a href="/en/a/links.xhtml">Links</a> |
- <a href="/en/a/CSS_test.xhtml.asc">{this page}.asc</a>
- </p>
- <hr/>
- </nav>
- <header>
- <h1><abbr title="Cascading Style Sheets">CSS</abbr> test</h1>
- <p>A page for demonstration and testing purposes only</p>
- </header>
- <p>
- Strangely, if I put an <code><h1/></code> element within a <code><section/></code> or <code><article/></code> element, the W3C validator complains.
- I imagine that the same would happen if the <code><h1/></code> tag were put within a <code><blockquote/></code> element, but I have yet to test that.
- </p>
- <h1><code><h1/></code> element</h1>
- <h2><code><h2/></code> element</h2>
- <h3><code><h3/></code> element</h3>
- <h4><code><h4/></code> element</h4>
- <h5><code><h5/></code> element</h5>
- <h6><code><h6/></code> element</h6>
- <hr/>
- <blockquote id="blockquote">
- <p>
- This is contained in a <code><blockquote/></code> tag.
- This tag has no <code><blockquote/></code> tags as parents.
- </p>
- <blockquote>
- <p>
- This <code><blockquote/></code> tag is nested within another <code><blockquote/></code> tag.
- </p>
- <blockquote>
- <p>
- This <code><blockquote/></code> tag is within two other <code><blockquote/></code> tags.
- </p>
- <blockquote>
- <blockquote>
- <p>
- Once <code><blockquote/></code> tags are nested five deep, the alternating pattern is broken.
- I need to find a way to continue the pattern when these elements are nested to an arbitrarily-deep level.
- </p>
- </blockquote>
- </blockquote>
- </blockquote>
- </blockquote>
- </blockquote>
- <hr/>
- <p>
- This paragraph has several formatted strings in it.
- <kbd>For example, this sentence represents typed input.</kbd>
- </p>
- <ul>
- <li>
- <code>display: none;</code>
- <ul>
- <li>
- <code><head/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><script/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: block;</code>
- <ul>
- <li>
- <code><html/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><body/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><article/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><section/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><nav/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><aside/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><h1/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><h2/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><h3/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><h4/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><h5/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><h6/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><header/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><footer/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><address/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><p/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><hr/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><pre/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><blockquote/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><ol/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><ul/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><dl/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><dt/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><dd/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><figure/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><figcaption/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><div/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><main/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><form/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><noscript/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><marquee/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><meter/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><progress/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: list-item;</code>
- <ul>
- <li>
- <code><li/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: inline;</code>
- <ul>
- <li>
- <code><a/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><em/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><strong/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><small/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><s/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><cite/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><q/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><dfn/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><abbr/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><data/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><time/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><code/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><var/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><samp/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><kbd/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><sub/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><sup/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><i/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><b/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><u/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><mark/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><ruby/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><rb/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><rt/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><rtc/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><rp/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><bdi/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><bdo/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><span/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><br/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><wbr/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><ins/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><del/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: inline-block;</code>
- <ul>
- <li>
- <code><img/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><iframe/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><embed/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><object/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><param/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><video/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><audio/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><source/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><track/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><map/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><area/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><label/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><input/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><button/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><select/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><datalist/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><optgroup/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><option/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><textarea/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><keygen/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><output/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><progress/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><meter/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><fieldset/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><legend/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><template/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><canvas/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><applet/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: table;</code>
- <ul>
- <li>
- <code><table/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: table-caption;</code>
- <ul>
- <li>
- <code><caption/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: table-column-group;</code>
- <ul>
- <li>
- <code><colgroup/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: table-column;</code>
- <ul>
- <li>
- <code><col/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: table-row-group;</code>
- <ul>
- <li>
- <code><tboby/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: table-header-group;</code>
- <ul>
- <li>
- <code><thead/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: table-footer-group;</code>
- <ul>
- <li>
- <code><tfoot/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: table-row;</code>
- <ul>
- <li>
- <code><tr/></code>
- </li>
- </ul>
- </li>
- <li>
- <code>display: table-cell;</code>
- <ul>
- <li>
- <code><td/></code>
- </li>
- </ul>
- <ul>
- <li>
- <code><th/></code>
- </li>
- </ul>
- </li>
- </ul>
- <hr/>
- <p>
- Copyright © 2017 Alex Yst;
- You may modify and/or redistribute this document under the terms of the <a rel="license" href="/license/gpl-3.0-standalone.xhtml"><abbr title="GNU's Not Unix">GNU</abbr> <abbr title="General Public License version Three or later">GPLv3+</abbr></a>.
- If for some reason you would prefer to modify and/or distribute this document under other free copyleft terms, please ask me via email.
- My address is in the source comments near the top of this document.
- This license also applies to embedded content such as images.
- For more information on that, see <a href="/en/a/licensing.xhtml">licensing</a>.
- </p>
- <p>
- <abbr title="World Wide Web Consortium">W3C</abbr> standards are important.
- This document conforms to the <a href="https://validator.w3.org./nu/?doc=https%3A%2F%2Fy.st.%2Fen%2Fa%2FCSS_test.xhtml"><abbr title="Extensible Hypertext Markup Language">XHTML</abbr> 5.1</a> specification and uses style sheets that conform to the <a href="http://jigsaw.w3.org./css-validator/validator?uri=https%3A%2F%2Fy.st.%2Fen%2Fa%2FCSS_test.xhtml"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> specification.
- </p>
- </body>
- </html>
|