Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial commit.

  • Loading branch information...
commit 8185b2842a9c8e29c0db5b51db9909ec9bf6b147 0 parents
@hober authored
Showing with 111 additions and 0 deletions.
  1. +2 −0  README.md
  2. +53 −0 demo.html
  3. +56 −0 quote-styles.css
2  README.md
@@ -0,0 +1,2 @@
+# Mothereffing Quote Styles
+
53 demo.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta charset="utf-8">
+<title>Mothereffin' Quote Styles</title>
+<link rel="stylesheet" href="quote-styles.css">
+<style>
+table {
+ border-collapse: collapse;
+}
+table td, table th {
+ border: 1px solid black;
+ padding: 0.25em;
+}
+table th {
+ text-align: left;
+}
+</style>
+<p>
+<a href=quote-styles.css>quote-styles.css</a>, based on
+<a href=https://bugzilla.mozilla.org/show_bug.cgi?id=16206#c56>comment
+56</a> of
+<a href=https://bugzilla.mozilla.org/show_bug.cgi?id=16206>Mozilla bug
+16206</a>.
+<table>
+<thead><tr><th>Language</th><th>Example</th></tr></thead>
+<tbody>
+<tr lang="cs"><th>cs</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="de"><th>de</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="de-ch"><th>de-ch</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="de-it"><th>de-it</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="en"><th>en</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="en-gb"><th>en-gb</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="en-us"><th>en-us</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="es"><th>es</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="fi"><th>fi</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="fr"><th>fr</th><td><q>outer <q>middle <q>inner</q> middle</q> outer</q></td></tr>
+<tr lang="it"><th>it</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="ja"><th>ja</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="nb"><th>nb</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="nl"><th>nl</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="nn"><th>nn</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="no"><th>no</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="pl"><th>pl</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="ro"><th>ro</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="ru"><th>ru</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="sr"><th>sr</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="sv"><th>sv</th><td><q>outer <q>inner</q> outer</q></td></tr>
+<tr lang="zh"><th>zh</th><td><q>outer <q>inner</q> outer</q></td></tr>
+</tbody>
+</table>
+<p>
+See also <a href=http://www.w3.org/Bugs/Public/show_bug.cgi?id=13398>W3C
+Bug 13398</a>
56 quote-styles.css
@@ -0,0 +1,56 @@
+q { quotes: '"' '"' "'" "'"; }
+
+q:lang(cs),
+q:lang(nl),
+q:lang(pl),
+q:lang(ro) { quotes: "\201E" "\201D" "\201A" "\2019" }
+q q:lang(cs),
+q q:lang(nl),
+q q:lang(pl) { quotes: "\201A" "\2019" }
+
+q:lang(de),
+q:lang(sr) { quotes: "\201E" "\201C" "\201A" "\2018" }
+q q:lang(de),
+q q:lang(sr) { quotes: "\201A" "\2018" }
+
+q:lang(de-ch),
+q:lang(de-it) { quotes: "\BB" "\AB" "\203A" "\2039" }
+q q:lang(de-ch),
+q q:lang(de-it) { quotes: "\203A" "\2039" }
+
+q:lang(en),
+q:lang(en-us) { quotes: "\201C" "\201D" "\2018" "\2019" }
+q q:lang(en),
+q q:lang(en-us) { quotes: "\2018" "\2019" }
+
+q:lang(en-gb) { quotes: "\2018" "\2019" "\201C" "\201D" }
+q q:lang(en-gb) { quotes: "\201C" "\201D" }
+
+q:lang(es),
+q:lang(nn) { quotes: "\AB" "\BB" "\2018" "\2019" }
+q q:lang(es),
+q q:lang(nn) { quotes: }
+
+q:lang(fi),
+q:lang(sv) { quotes: "\201D" "\201D" "\2019" "\2019" }
+q q:lang(fi),
+q q:lang(sv) { quotes: "\2019" "\2019" }
+
+q:lang(fr) { quotes: "\AB\2009" "\2009\BB" "\201C" "\201D" "\2018" "\2019" }
+q q:lang(fr) { quotes: "\201C" "\201D" }
+q q q:lang(fr) { quotes: "\2018" "\2019" }
+
+q:lang(it) { quotes: "\AB" "\BB" "\201C" "\201D" }
+q q:lang(it) { quotes: "\201C" "\201D" }
+
+q:lang(ja),
+q:lang(zh) { quotes: "\300C" "\300D" "\300E" "\300F" }
+q q:lang(ja),
+q q:lang(zh) { quotes: "\300E" "\300F" }
+
+q:lang(nb),
+q:lang(no),
+q:lang(ru) { quotes: "\AB" "\BB" "\2039" "\203A" }
+q q:lang(nb),
+q q:lang(no),
+q q:lang(ru) { quotes: "\2039" "\203A" }
Please sign in to comment.
Something went wrong with that request. Please try again.