Skip to content

Commit 86a451b

Browse files
committed
[css2] Changes per Oslo ftf.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402148
1 parent 4b99866 commit 86a451b

1 file changed

Lines changed: 2 additions & 105 deletions

File tree

css2/generate.src

Lines changed: 2 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -110,39 +110,6 @@ body:after {
110110

111111
</div>
112112

113-
<del>
114-
<P>User agents must ignore the following properties with :before and
115-
:after pseudo-elements: <span
116-
class="propinst-position">'position'</span>, <span
117-
class="propinst-float">'float'</span>, <a href="#lists">list</a>
118-
properties, and <a href="tables.html">table</a> properties.
119-
120-
<P>The :before and :after pseudo-elements elements allow
121-
values of the <span class="propinst-display">'display'</span>
122-
property as follows:
123-
124-
<ul>
125-
126-
<li>If the <a href="selector.html#subject">subject</a> of the
127-
selector is a <a href="visuren.html#block-level">block-level</a>
128-
element, allowed values are 'none', 'inline', 'block', and 'marker'.
129-
If the value of the pseudo-element's
130-
<span class="propinst-display">'display'</span> property
131-
has any other value, the pseudo-element will behave as if its value
132-
were 'block'.
133-
134-
<li>If the <a href="selector.html#subject">subject</a> of the
135-
selector is an <a href="visuren.html#inline-level">inline-level</a>
136-
element, allowed values are 'none' and 'inline'.
137-
If the value of the pseudo-element's
138-
<span class="propinst-display">'display'</span> property
139-
has any other value, the pseudo-element will behave as if its value
140-
were 'inline'.
141-
142-
</ul>
143-
</del>
144-
145-
<ins cite="http://lists.w3.org/Archives/Member/w3c-css-wg/2003JulSep/0038.html">
146113
<p>The :before and :after pseudo-elements elements interact with other
147114
boxes, such as run-in boxes, as if they were real elements inserted just
148115
inside their associated element.</p>
@@ -156,8 +123,8 @@ inside their associated element.</p>
156123
<p>...would render in exactly the same way as the following document
157124
fragment and stylesheet:</p>
158125
<pre>
159-
&lt;h2> Header &lt;/h2> h2 { display: run-in; }
160-
&lt;p>&lt;span>Same&lt;/span> Text &lt;/p> span { display: block; content: 'Some'; }
126+
&lt;h2> Header &lt;/h2> h2 { display: run-in; }
127+
&lt;p>&lt;span>Some&lt;/span> Text &lt;/p> span { display: block }
161128
</pre>
162129
<p>Similarly, the following document fragment and stylesheet:</p>
163130
<pre>
@@ -173,7 +140,6 @@ fragment and stylesheet:</p>
173140
&lt;p> Text &lt;/p>
174141
</pre>
175142
</div>
176-
</ins>
177143

178144
<h2><a name="content">The</a> <span
179145
class="propinst-content">'content'</span> property</h2>
@@ -282,75 +248,6 @@ h1:before {
282248
is not fed back to the document language processor (e.g., for
283249
reparsing).
284250

285-
<del cite="http://lists.w3.org/Archives/Member/w3c-css-wg/2003JulSep/0038.html">
286-
<h2><a name="run-in-gen">Interaction</a> of :before and :after
287-
with <span
288-
class="index-inst" title="run-in"><span
289-
class="value-inst-run-in">'run-in'</span></span> elements</h2>
290-
291-
<p>The following cases can occur:</p>
292-
293-
<ol>
294-
<li><strong>A 'run-in' element has a :before pseudo-element of type
295-
'inline':</strong> the pseudo-element is rendered inside the same
296-
block box as the element.
297-
298-
<li><strong>A 'run-in' element has an :after
299-
pseudo-element of type 'inline':</strong> The rules of the previous
300-
point apply.
301-
302-
<li><strong>A 'run-in' element has a :before
303-
pseudo-element of type 'block':</strong> the pseudo-element is
304-
formatted as a block above the element.
305-
306-
<li><strong>A 'run-in' element has an :after
307-
pseudo-element of type 'block':</strong> both the element and its
308-
:after pseudo-element are formatted as block boxes. The element
309-
is <em>not</em> formatted as an inline box in its own :after
310-
pseudo-element.
311-
312-
<li><strong>The element following a 'run-in' element has
313-
a :before of type 'block':</strong> the decision how to format the
314-
'run-in' element is made with respect to the block box
315-
resulting from the :before pseudo-element.
316-
317-
<li><strong>The element following a 'run-in' element has
318-
an :before of type 'inline':</strong> the decision how to format the
319-
'run-in' element depends on the <span
320-
class="propinst-display">'display'</span> value of the element to which
321-
the :before is attached.
322-
323-
</ol>
324-
325-
<div class="example">
326-
<p>Here is an example of a 'run-in' header with an :after
327-
pseudo-element, followed by a paragraph with a :before pseudo-element. All
328-
pseudo-elements are inline (the default) in this example. When the
329-
style sheet:</p>
330-
331-
<pre>
332-
h3 { display: run-in }
333-
h3:after { content: ": " }
334-
p:before { content: "... " }
335-
</pre>
336-
337-
<p>is applied to this source document:</p>
338-
339-
<pre class="html-example">
340-
&lt;h3&gt;Centaurs&lt;/h3&gt;
341-
&lt;p&gt;have hoofs
342-
&lt;p&gt;have a tail
343-
</pre>
344-
345-
<p>The visual formatting will resemble:</p>
346-
347-
<pre class="none">
348-
Centaurs: ... have hoofs
349-
... have a tail
350-
</pre>
351-
</div>
352-
</del>
353-
354251
<h2><a name="quotes">Quotation marks</a></h2>
355252

356253
<P>In CSS 2.1, authors may specify, in a style-sensitive and

0 commit comments

Comments
 (0)