Skip to content

Commit de9b55d

Browse files
committed
[css3-overflow] Note one issue that needs to be reworded for overflow-x and overflow-y, and specify that setting of display/position/float can't change display-inside between fragments.
1 parent c438d94 commit de9b55d

File tree

2 files changed

+35
-11
lines changed

2 files changed

+35
-11
lines changed

css3-overflow/Overview.html

+20-7
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,13 @@ <h4 id=style-of-fragments><span class=secno>5.1.2. </span>Styling of
840840
href="#overflow"><code class=css>overflow</code></a>’ on the first
841841
fragment does not cause the <a href="#fragment-box"><i>fragment
842842
box</i></a> not to exist; whether there are fragment boxes at all is
843-
determined by the computed value of overflow for the element.
843+
determined by the computed value of overflow for the element. <span
844+
class=issue>Need to reword this to refer to the appropriate choice of
845+
<a href="#overflow-x"><code class=css>overflow-x</code></a>’ or ‘<a
846+
href="#overflow-y"><code class=css>overflow-y</code></a>’, and then
847+
point to rule about the handling of the other one of ‘<a
848+
href="#overflow-x"><code class=css>overflow-x</code></a>’ or ‘<a
849+
href="#overflow-y"><code class=css>overflow-y</code></a>’.</span>
844850

845851
<p> Styling an ‘<code class=css>::nth-fragment()</code>’ pseudo-element
846852
with the ‘<code class=property>content</code>’ property has no effect;
@@ -855,12 +861,19 @@ <h4 id=style-of-fragments><span class=secno>5.1.2. </span>Styling of
855861
later fragment boxes, it still counts as though it was generated. However,
856862
since it is not generated, it does not contain any content.
857863

858-
<p class=issue> Would it make more sense to forbid ‘<code
859-
class=css>display:none</code>’? Or perhaps to forbid ‘<code
860-
class=property>display</code>’, ‘<code
861-
class=property>position</code>’, ‘<code
862-
class=property>float</code>’, and similar (in addition to ‘<a
863-
href="#overflow"><code class=property>overflow</code></a>’)?
864+
<p> Specifying other values of ‘<code class=property>display</code>’,
865+
<code class=property>position</code>’, or ‘<code
866+
class=property>float</code>’ is permitted, but is not allowed to change
867+
the computed value of ‘<code class=property>display-inside</code>’.
868+
(Since ‘<a href="#overflow"><code class=property>overflow</code></a>’,
869+
<a href="#overflow-x"><code class=property>overflow-x</code></a>’,
870+
and ‘<a href="#overflow-y"><code class=property>overflow-y</code></a>
871+
only apply to block containers and flex containers, the computed value of
872+
<code class=property>display-inside</code>’ is always ‘<code
873+
class=css>block</code>’ or ‘<code class=css>flex</code>’. <span
874+
class=issue>Need to specify exactly how this works, but it depends on
875+
having ‘<code class=property>display-inside</code>’ and ‘<code
876+
class=property>display-outside</code>’ specified.</span>
864877

865878
<p> To match the model for other pseudo-elements where the pseudo-elements
866879
live inside their corresponding element, declarations in ‘<code

css3-overflow/Overview.src.html

+15-4
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,10 @@ <h4 id="style-of-fragments">Styling of fragments</h4>
642642
does not cause the <i>fragment box</i> not to exist;
643643
whether there are fragment boxes at all is determined by
644644
the computed value of overflow for the element.
645+
<span class="issue">Need to reword this to refer to the
646+
appropriate choice of ''overflow-x'' or ''overflow-y'',
647+
and then point to rule about the handling of the other one
648+
of ''overflow-x'' or ''overflow-y''.</span>
645649
</p>
646650

647651
<p>
@@ -661,10 +665,17 @@ <h4 id="style-of-fragments">Styling of fragments</h4>
661665
However, since it is not generated, it does not contain any content.
662666
</p>
663667

664-
<p class="issue">
665-
Would it make more sense to forbid ''display:none''?
666-
Or perhaps to forbid 'display', 'position', 'float',
667-
and similar (in addition to 'overflow')?
668+
<p>
669+
Specifying other values of 'display', 'position',
670+
or 'float' is permitted, but is not allowed to change
671+
the computed value of 'display-inside'.
672+
(Since 'overflow', 'overflow-x', and 'overflow-y' only
673+
apply to block containers and flex containers,
674+
the computed value of 'display-inside' is always
675+
''block'' or ''flex''.
676+
<span class="issue">Need to specify exactly how this works,
677+
but it depends on
678+
having 'display-inside' and 'display-outside' specified.</span>
668679
</p>
669680

670681
<p>

0 commit comments

Comments
 (0)