Skip to content

Commit 1d91139

Browse files
committed
[css2] Issues 50, 52, 54, 55, 58, 59 from http://wiki.csswg.org/spec/css2.1
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402861
1 parent 80a102e commit 1d91139

3 files changed

Lines changed: 19 additions & 5 deletions

File tree

css2/generate.src

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,13 @@ principal block box. Values have the following meanings:</p>
884884
<dt><strong>outside</strong>
885885

886886
<dd>The marker box is outside the principal block box. CSS&nbsp;2.1
887-
does not specify the precise location of the marker box.
887+
does not specify the precise location of the marker box, but does
888+
require that for list items whose 'direction' property is 'ltr' the
889+
marker box be on the left side of the content and for elements whose
890+
'direction' property is 'rtl' the marker box be on the right side of
891+
the content. 'overflow' on the element does not clip the marker box.
892+
The marker box is fixed with respect to the principal block box's
893+
border and does not scroll with the principal block box's content.
888894

889895
<dt><strong>inside</strong>
890896

@@ -926,10 +932,10 @@ For example:
926932
<P><img src="./images/list-inout.png" alt="Difference between inside
927933
and outside list style position"></p>
928934
</div>
929-
</div>
930935

931936
<P>In right-to-left text, the markers would have been on the right
932937
side of the box.
938+
</div>
933939

934940
<!-- #include src=properties/list-style.srb -->
935941

css2/grammar.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: grammar.src,v 2.55 2008-06-25 16:20:35 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.56 2008-12-01 18:12:45 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Grammar of CSS&nbsp;2.1</TITLE>
66
</HEAD>
@@ -177,7 +177,7 @@ I i|\\0{0,4}(49|69)(\r\n|[ \t\r\n\f])?|\\i
177177
K k|\\0{0,4}(4b|6b)(\r\n|[ \t\r\n\f])?|\\k
178178
M m|\\0{0,4}(4d|6d)(\r\n|[ \t\r\n\f])?|\\m
179179
N n|\\0{0,4}(4e|6e)(\r\n|[ \t\r\n\f])?|\\n
180-
O o|\\0{0,4}(51|71)(\r\n|[ \t\r\n\f])?|\\o
180+
O o|\\0{0,4}(4f|6f)(\r\n|[ \t\r\n\f])?|\\o
181181
P p|\\0{0,4}(50|70)(\r\n|[ \t\r\n\f])?|\\p
182182
R r|\\0{0,4}(52|72)(\r\n|[ \t\r\n\f])?|\\r
183183
S s|\\0{0,4}(53|73)(\r\n|[ \t\r\n\f])?|\\s

css2/visudet.src

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: visudet.src,v 2.130 2008-11-26 15:05:04 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.131 2008-12-01 18:12:45 bbos Exp $ -->
44
<head>
55
<title>Visual formatting model details</title>
66
<style type="text/css">
@@ -825,6 +825,14 @@ depends on content height), and this element is not absolutely
825825
positioned, the value computes to 'auto'. A percentage height
826826
on the <a href="conform.html#root">root element</a> is relative to the
827827
<a href="#containing-block-details">initial containing block</a>.
828+
<span class="note">
829+
Note: For absolutely positioned elements whose containing block is
830+
based on a block-level element, the percentage is calculated with
831+
respect to the height of the <em>padding box</em> of that element.
832+
This is a change from CSS1, where the percentage was always
833+
calculated with respect to the <em>content box</em> of the parent
834+
element.
835+
</span>
828836
</dd>
829837
<dt><strong>auto</strong>
830838
</dt>

0 commit comments

Comments
 (0)