W3C home > Mailing lists > Public > public-css-commits@w3.org > September 2011

csswg/css-device-adapt Overview.html,1.7,1.8 Overview.src.html,1.7,1.8 default.css,1.2,1.3

From: Rune Lillesveen via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 07 Sep 2011 13:53:28 +0000
To: public-css-commits@w3.org
Message-Id: <E1R1IZE-0003jQ-Fb@lionel-hutz.w3.org>
Update of /sources/public/csswg/css-device-adapt
In directory hutz:/tmp/cvs-serv14300

Modified Files:
	Overview.html Overview.src.html default.css 
Log Message:
More preparations for WD.


Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css-device-adapt/Overview.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Overview.html	5 Sep 2011 11:24:06 -0000	1.7
+++ Overview.html	7 Sep 2011 13:53:26 -0000	1.8
@@ -5,11 +5,9 @@
  <head><meta content="text/html;charset=utf-8" http-equiv=Content-Type>
 
   <title>CSS Device Adaptation</title>
-  <link href="http://dev.w3.org/csswg/default.css" rel=stylesheet
-  type="text/css">
-  <link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet
-  type="text/css">
   <link href=default.css rel=stylesheet type="text/css">
+  <link href="http://www.w3.org/StyleSheets/TR/W3C-WD" rel=stylesheet
+  type="text/css">
 
  <body class=draft>
   <div class=head> <!--begin-logo-->
@@ -18,23 +16,23 @@
 
    <h1>CSS Device Adaptation</h1>
 
-   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 5 September
+   <h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 7 September
     2011</h2>
 
    <dl>
     <dt>This version:
 
     <dd><a
-     href="http://dev.w3.org/csswg/css-device-adapt/">http://dev.w3.org/csswg/css-device-adapt/</a>
+     href="http://www.w3.org/TR/2011/WD-css-device-adapt-20110907/">http://www.w3.org/TR/2011/WD-css-device-adapt-20110907/</a>
 
     <dt>Latest version:
 
     <dd><a
-     href="http://dev.w3.org/csswg/css-device-adapt/">http://dev.w3.org/csswg/css-device-adapt/</a>
+     href="http://www.w3.org/TR/css-device-adapt/">http://www.w3.org/TR/css-device-adapt/</a>
 
     <dt>Previous version:
 
-    <dd>-
+    <dd>None
 
     <dt>Editor:
 
@@ -72,10 +70,43 @@
    document</h2>
   <!--begin-status-->
 
-  <p>This is a public copy of the editors' draft. It is provided for
-   discussion only and may change at any moment. It probably contains errors.
-   Its publication here does not imply endorsement of its contents by W3C.
-   <!--end-status-->
+  <p><em>This section describes the status of this document at the time of
+   its publication. Other documents may supersede this document. A list of
+   current W3C publications and the latest revision of this technical report
+   can be found in the <a href="http://www.w3.org/TR/">W3C technical reports
+   index at http://www.w3.org/TR/.</a></em>
+
+  <p>Publication as a Working Draft does not imply endorsement by the W3C
+   Membership. This is a draft document and may be updated, replaced or
+   obsoleted by other documents at any time. It is inappropriate to cite this
+   document as other than work in progress.
+
+  <p>The (<a
+   href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) public
+   mailing list <a href="mailto:www-style@w3.org">www-style@w3.org</a> (see
+   <a href="http://www.w3.org/Mail/Request">instructions</a>) is preferred
+   for discussion of this specification. When sending e-mail, please put the
+   text &#8220;css-device-adapt&#8221; in the subject, preferably like this:
+   &#8220;[<!---->css-device-adapt<!---->] <em>&hellip;summary of
+   comment&hellip;</em>&#8221;
+
+  <p>This document was produced by the <a
+   href="http://www.w3.org/Style/CSS/members">CSS Working Group</a> (part of
+   the <a href="http://www.w3.org/Style/">Style Activity</a>).
+
+  <p>This document was produced by a group operating under the <a
+   href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February
+   2004 W3C Patent Policy</a>. W3C maintains a <a
+   href="http://www.w3.org/2004/01/pp-impl/32061/status"
+   rel=disclosure>public list of any patent disclosures</a> made in
+   connection with the deliverables of the group; that page also includes
+   instructions for disclosing a patent. An individual who has actual
+   knowledge of a patent which the individual believes contains <a
+   href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
+   Claim(s)</a> must disclose the information in accordance with <a
+   href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
+   6 of the W3C Patent Policy</a>.</p>
+  <!--end-status-->
 
   <h2 class="no-num no-toc" id=table-of-contents>Table of contents</h2>
   <!--begin-toc-->
@@ -374,7 +405,8 @@
    will be dropped.
 
   <p>Relative length values are resolved against initial values. For instance
-   'em's are resolved against the initial value of the font-size property.
+   &lsquo;<code class=property>em</code>&rsquo;s are resolved against the
+   initial value of the font-size property.
 
   <h3 id=the-lsquomin-widthrsquo-and-lsquomax-wid><span class=secno>5.1.
    </span>The &lsquo;<a href="#min-width"><code

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css-device-adapt/Overview.src.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Overview.src.html	5 Sep 2011 11:24:06 -0000	1.7
+++ Overview.src.html	7 Sep 2011 13:53:26 -0000	1.8
@@ -3,9 +3,8 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
     <title>CSS Device Adaptation</title>
-    <link href="http://dev.w3.org/csswg/default.css" rel="stylesheet" type="text/css">
-    <link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel="stylesheet" type="text/css">
     <link href="default.css" rel="stylesheet" type="text/css">
+    <link href="http://www.w3.org/StyleSheets/TR/W3C-[STATUS]" rel="stylesheet" type="text/css">
   </head>
   <body class="draft">
     <div class="head">
@@ -17,13 +16,13 @@
 
       <dl>
         <dt>This version:</dt>
-        <dd><a href="http://dev.w3.org/csswg/css-device-adapt/">http://dev.w3.org/csswg/css-device-adapt/</a></dd>
+        <dd><a href="http://www.w3.org/TR/[YEAR]/WD-css-device-adapt-[CDATE]/">http://www.w3.org/TR/[YEAR]/WD-css-device-adapt-[CDATE]/</a></dd>
 
         <dt>Latest version:</dt>
-        <dd><a href="http://dev.w3.org/csswg/css-device-adapt/">http://dev.w3.org/csswg/css-device-adapt/</a></dd>
+        <dd><a href="http://www.w3.org/TR/css-device-adapt/">http://www.w3.org/TR/css-device-adapt/</a></dd>
 
         <dt>Previous version:</dt>
-        <dd>-</dd>
+        <dd>None</dd>
 
         <dt>Editor:</dt>
         <dd><a href="mailto:rune@opera.com">Rune Lillesveen</a> (<a href="http://www.opera.com/">Opera Software</a>)</dd>

Index: default.css
===================================================================
RCS file: /sources/public/csswg/css-device-adapt/default.css,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- default.css	5 Sep 2011 11:24:06 -0000	1.2
+++ default.css	7 Sep 2011 13:53:26 -0000	1.3
@@ -1,4 +1,502 @@
 /*
+ * Style sheet for the CSS3 specification,
+ * to be used in addition to http://www.w3.org/StyleSheets/TR/W3C-{WD,PR,REC}
+ */
+
+@media print {
+
+    /* the following doesn't work for now,
+       instead we rely on a patched version of html2ps which has this built-in */
+    .dlink { display: none }
+
+    /* the following doesn't work for now,
+       instead we rely on a patched version of html2ps which has this built-in */
+    div.navbar {
+       display: none;
+    }
+
+    html { margin: 0 !important }
+    body { font-family: serif }
+    th, td { font-family: inherit }
+    a { color: inherit !important }
+    div.example:before { font-family: serif !important }
+    pre.example:before { font-family: serif !important }
+    a:link, a:visited { text-decoration: none !important }
+    a:link:after, a:visited:after { /* create a cross-ref "see..." */ }
+}
+@page {
+    margin: 1.5cm 1.1cm;
+}
+
+/* html body { margin-left: 8.5em } /* Overrides 70px in base.css */
+
+body {counter-reset: exampleno figure}
+
+/* Pagination */
+h1, h2, h3, h4, h5, h6 { page-break-after: avoid; font-family: inherit }
+div.figure, div.sidefigure, pre, table.propdef, table.propdef-extra,
+div.example { page-break-inside: avoid }
+dt { page-break-after: avoid }
+
+span.id {float: right; font-weight: bold}
+
+/* General Structural Markup */
+h2, h3, h5, h6 {
+    margin-top: 2em;
+}
+h1 + h2 {
+    margin-top: 0;
+}
+
+p, p.testlink + p, p.mtb {
+    text-indent: 0;
+    margin-bottom: 0;
+    margin-top: 0.8em
+}
+p + p, p + div.sidefigure + p {
+    text-indent: 2em;
+    margin-top: 0
+}
+dd > p:first-child, li > p:first-child {
+    margin-top: 0
+}
+
+pre {
+    text-align: left; /* fixes justification in Mac IE 5 */
+    text-indent: 0;   /* fixes indent in Mac Netscape 6 */
+    margin-top: 1em;
+    margin-bottom: 1em;
+    font-size: 90% /*smaller*/;
+}
+/*
+var {
+    font-style: normal;
+}
+*/
+img {
+    border-style: none;
+    color: white;
+}
+.toc {
+    text-indent: 0;
+}
+
+
+@media all { /* NS < 6 doesn't like borders around inline elements... */
+
+    body {
+        line-height: 1.3;
+    }
+
+    a:link, a:visited {
+        color: inherit;
+        text-decoration: underline;
+    }
+
+    a.logo:link, a.logo:visited {
+        padding: 0;
+        border-style: none;
+    }
+
+    /* Hmm, this seems to confuse many browsers... */
+    dt { margin-left: 0 }
+    dd { margin-left: 2em }
+    dl, ul, ol { margin-left: 0; padding-left: 0 }
+    li { margin-left: 2em; padding-left: 0 }
+
+}
+ul.indexlist { margin-left: 0; /*column-width: 13em; columns: 13em*/ }
+ul.indexlist li { margin-left: 0; list-style: none }
+ul.indexlist li li { margin-left: 1em }
+
+/* Examples */
+
+.example {
+    counter-increment: exampleno;
+}
+div.example:before {
+    content: "Example";
+    content: "Example " counter(exampleno, upper-roman);
+    font: bold small sans-serif;
+    /*float: left;*/
+    position: absolute;
+    top: -0.6em;
+    left: -2.5em;
+    min-width: 7.5em;
+    text-align: center;
+    line-height: 1em;
+    color: #FFF8DD;
+    background: #600;
+    padding: 0.1em;
+    border: thin solid #999;
+    /*margin: -1.3em 0 0.3em -2.5em;*/
+}
+pre.example:before {
+    content: "Example";
+    content: "Example " counter(exampleno, upper-roman);
+    font: bold small sans-serif;
+    /*float: left;*/
+    position: absolute;
+    top: -0.6em;
+    left: -2.5em;
+    min-width: 7.5em;
+    text-align: center;
+    line-height: 1em;
+    color: #FFF8DD;
+    background: #600;
+    padding: 0.1em;
+    border: thin solid #999;
+    /*margin: -1.3em 0 0.3em -2.5em;*/
+}
+div.example, div.html, div.xml,
+pre.example, pre.html, pre.xml {
+    background: #FFF8DD;
+    padding: 0.5em;
+    margin: 1em 0;
+    border: thin solid #999;
+    position: relative;
+    clear: both;
+    color: #600;
+}
+pre.example, pre.html, pre.xml {
+    padding-top: 1.5em;
+}
+div.illegal, pre.illegal { color: red }
+div.illegal p { color: black }
+
+/* code { font-size: 90% } */
+.css { color: #800 }		/* inline CSS code (SPAN/CODE) */
+code.css { font-family: inherit; font-size: 100% }
+code.html { color: #600 }	/* inline HTML */
+code.xml { color: #600 }	/* inline XML */
+.property { font: inherit; }	/* name of a CSS property (SPAN) */
+.descriptor { }			/* name of a CSS descriptor (SPAN) */
+.type { font-style: italic }	/* A <type> value for a property */
+
+dfn { font-weight: bolder; /*font-size: 1em*/ }
+
+/* Open issue / editorial remark; not intended for a final publication */
+
+.issue { color: #c00 }
+.issue:before {
+  content: "Issue:";
+  border: 3px double #c00;
+  background: #c00;
+  background-clip: padding-box;
+  color: white;
+  margin: 0.25em;
+  padding: 0 0.25em;
+}
+
+/* Class note is a non-normative note. May be inline or a P or DIV */
+.note {
+    color: green
+}
+p.note:before, span.note:before { content: "\25B6" " " }
+div.note > p:first-child:before { content: "\25B6" " " }
+
+.normref { color: red }
+.informref { color: green }
+
+
+/* ToC not indented, but font style shows hierarchy */
+ul.toc {margin: 1em 0; padding: 0; font-weight: bold}
+ul.toc ul {margin: 0; padding: 0; font-weight: normal}
+ul.toc ul ul {margin: 0 /*0 0 2em*/; font-style: italic}
+ul.toc ul ul ul {margin: 0}
+ul.toc li {margin: 0.6em 0; padding: 0}
+ul.toc li li {margin: 0}
+/*
+ul.toc li li li, ul.toc li li li ul {margin-left: 0; display: inline}
+ul.toc li li li ul, ul.toc li li li ul li {margin-left: 0; display: inline}
+*/
+
+@media all { /* NS4 doesn't align the floats properly :-( */
+
+  /* Section numbers in a column of their own */
+  ul.toc span.secno {margin-right: 1em} /* workaround for Opera6 */
+  ul.toc span.secno {float: left; width: 4em; margin-left: -5em}
+  /*ul.toc span.secno {text-align: right}*/
+  ul.toc li {clear: both}
+  ul.toc {margin-left: 5em}
+  /* If we had 'tab', floats would not be needed here:
+       ul.toc span.secno {tab: 5em right; margin-right: 1em}
+       ul.toc li {text-indent: 5em hanging}
+     The second line in case items wrap
+  */
+}
+
+ul.index {
+  list-style: disc;		/* Mac NS has problem with 'none' */
+  list-style: none;
+}
+
+s, del {text-decoration: line-through; color: red}
+u, ins {text-decoration: underline; background: #bfa}
+
+div.figure, div.sidefigure {
+    text-align: center;
+    margin: 2.5em 0;
+}
+div.sidefigure {
+    float: right;
+    width: 50%;
+    margin: 0 0 0.5em 0.5em
+}
+div.figure img, div.sidefigure img {
+    display: block;
+    margin: auto;
+    max-width: 100%
+}
+p.caption, caption {
+    text-align: center;
+    font-style: italic;
+    font-size: 90%;
+    margin: 1.5em 2em;
+    text-indent: 0;
+}
+p.caption:before {
+    content: "Figure " counter(figure) ". ";
+    font-weight: bold;
+}
+p.caption {
+    counter-increment: figure;
+}
+
+/* DL list is indented, but figure inside it is not */
+dd { margin-left: 2em }
+dd div.figure { margin-left: -2em }
+
+sup {
+    vertical-align: super;
+    font-size: 80%
+}
+
+/* "Equations" (not real MathML, but simple HTML) are put in a
+blockquote and may have an equation number. We make sure the
+blockquote has enough margin on the right and then put the equation
+number there. */
+
+blockquote {
+    margin: 0.5em 4em 0.5em 2em;
+    text-indent: 0;
+}
+.eqno {
+    text-align: right;
+    float: right;
+    width: 3em;
+    margin: 0 -4em 0 0;
+    font-weight: bold;
+    /* background: silver; color: black; padding: 0.1em */
+}
+
+table.equiv-table { border-spacing: 0; margin: 0.5em 0 }
+table.equiv-table th, table.equiv-table td { padding: 0.3em }
+table.equiv-table th { text-align: left }
+/* table.equiv-table th:first-child { text-align: right } */
+table.equiv-table td, table.equiv-table th { border-bottom: thin solid #666 }
+table.equiv-table { border-bottom: hidden }
+table.equiv-table { empty-cells: show }
+table.equiv-table caption { margin: 0.5em 0 0 0 }
+
+/* Style for table of properties */
+table.proptable {
+    font-size: small;
+    border-collapse: collapse;
+    border-spacing: 0;
+    text-align: left;
+    margin: 1em 0;
+}
+
+table.proptable td, table.proptable th {
+    padding: 0.4em;
+    border-style: solid none none dotted;
+    border-width: thin;
+    border-color: red;
+    vertical-align: baseline;
+}
+table.proptable th:first-child, table.proptable td:first-child {
+    border-left-style: none;
+}
+
+/* Style for table that defines a property or a descriptor */
+table.propdef, table.propdef-extra, table.descdef {
+    border-spacing: 0;
+    border-collapse: collapse;
+    width: 100%;
+    table-layout: fixed;
+    background: #DEF;
+    margin-top: 1.2em;
+    margin-bottom: 1.2em
+}
+
+/* Since Jan 2008, some CSS modules use <th> instead of <td> in the
+first column of a table.propdef. These rules handle both. As of Jan
+2008, http://www.w3.org/Style/spec-mark-up still only documents <td>
+*/
+
+table.propdef td, table.propdef-extra td, table.descdef td,
+table.propdef th, table.propdef-extra th, table.descdef th {
+    padding: 0 0.3em;
+    vertical-align: baseline;
+}
+/*
+table.propdef dfn, table.propdef-extra dfn, table.descdef dfn {
+    font-weight: bold;
+    font-style: normal
+}
+*/
+table.propdef td:first-child,
+table.propdef-extra td:first-child,
+table.descdef td:first-child,
+table.propdef th:first-child,
+table.propdef-extra th:first-child,
+table.descdef th:first-child {
+    font-style: italic;
+    font-weight: normal;
+    text-align: left;
+    width: 8.3em
+}
+table.propdef td[colspan]:first-child,
+table.propdef-extra td[colspan]:first-child,
+table.descdef td[colspan]:first-child,
+table.propdef th[colspan]:first-child,
+table.propdef-extra th[colspan]:first-child,
+table.descdef th[colspan]:first-child {
+    font-style: inherit
+}
+table.propdef tr:first-child,
+table.propdef-extra tr:first-child,
+table.descdef tr:first-child {
+    background: #005A9C;
+    color: white
+}
+
+/* A footnote at the bottom of a propdef */
+table.propdef td.footnote {padding-top: 0.6em; width: auto}
+table.propdef td.footnote:before {
+  content: " ";
+  display: block;
+  height: 0.6em;
+  width: 4em;
+  border-top: thin solid
+}
+
+/* table.propdef tr:first-child td { padding-top: 0.1em; padding-bottom: 0.1em } */
+
+/* This would replace :first-child for Opera, but it confuses WinIE :-( */
+/*
+table.propdef td { width: 8em }
+table.propdef td + td { width: auto }
+table.propdef tr { background: #005A9C; color: white }
+table.propdef tr + tr { background: transparent; color: black }
+*/
+
+/* CSS modules typically don't use MUST, SHOULD etc. from RFC 2119,
+or, if they do, they don't put them in uppercase. But the following
+class is provided in case a spec wants to use RFC 2119 terms in
+uppercase in the source. */
+
+em.rfc2119 {
+    text-transform: lowercase;
+    font-variant: small-caps;
+    font-style: normal
+}
+
+/* In Profile specs, a table of required features: */
+
+table.features th {
+    background: #00589f;
+    color: #fff;
+    text-align: left;
+    padding: 0.2em 0.2em 0.2em 0.5em;
+}
+table.features td {
+    vertical-align: top;
+    border-bottom: 1px solid #ccc;
+    padding: 0.3em 0.3em 0.3em 0.7em;
+}
+
+/* Style for data tables (and properly marked-up proptables) */
+
+    .data, .proptable {
+      font-size: small;
+      margin: 1em auto;
+      border-collapse: collapse;
+      border-spacing: 0;
+      border: solid #005A9B;
+    }
+    .data caption {
+      width: 100%;
+      text-align: center;
+    }
+    .data td, .data th,
+    .proptable td, .proptable th {
+      border: thin;
+      border-style: solid none none dotted;
+      padding: 0.4em;
+      text-align: center;
+      border-color: red;
+    }
+    th:first-child, td:first-child {
+      border-left-style: none;
+    }
+
+    .data thead th[scope="row"],
+    .proptable thead th[scope="row"] {
+      text-align: right;
+      background: #A4C8E2;
+      color: inherit;
+    }
+    .data thead,
+    .proptable thead {
+      background: #EEEEEE;
+      color: inherit;
+    }
+    .data tbody th:first-child,
+    .proptable tbody th:first-child {
+      text-align: right;
+      background: #EEEEEE;
+      color: inherit;
+    }
+    .data thead,
+    .data tbody,
+    .data tfoot,
+    .data colgroup {
+      border: solid;
+    }
+    .proptable code {
+      font: inherit;
+      white-space: nowrap;
+    }
+    .proptable th a {
+      display: block;
+    }
+
+    .data img {
+      vertical-align: middle;
+    }
+
+    table.propdef {
+      table-layout: auto;
+    }
+    .propdef th {
+      font-style: italic;
+      font-weight: normal;
+      text-align: left;
+      width: 3em;
+    }
+    dt dfn code {
+      font-size: inherit;
+    }
+
+/* This is mostly to make the list inside the CR exit criteria more compact. */
+ol.inline, ol.inline li {display: inline; padding: 0; margin: 0}
+ol.inline {counter-reset: list-item}
+ol.inline li {counter-increment: list-item}
+ol.inline li:before {content: "(" counter(list-item) ") "; font-weight: bold}
+
+/*
  *
  * Extra styles for the the CSS Device Adaptation spec.
  *
@@ -32,7 +530,7 @@
   counter-increment: statement;
 }
 
-.algorithm .statement::before {
+.algorithm .statement:before {
   content: counter(statement) "   ";
   display: inline-block;
   width: 2em;
Received on Wednesday, 7 September 2011 13:53:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 September 2011 13:53:31 GMT