Skip to content

Commit 7c4d22a

Browse files
committed
spec/css3-regions/regions-use-cases: Updated some property names that have changed and modified some comments to better align with them
1 parent 8becd81 commit 7c4d22a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

spec/css3-regions/regions-use-cases.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ blockquote {
123123
/* exclude surrounding content */
124124
wrap-flow: both;
125125
/* prevent the content from touching the edges of the box */
126-
wrap-padding: 20px;
126+
shape-padding: 20px;
127127
color: lightblue;
128128
font-size: 2em;
129129
}
@@ -234,8 +234,8 @@ With CSS Regions I can filter the content and surface it. Possible use cases: "b
234234
.stories::before{
235235
flow-from: breaking-news;
236236

237-
/* allow scrolling when content overflows the region */
238-
region-overflow: auto;
237+
/* allow scrolling when content overflows the last region in the named flow */
238+
region-fragment: auto;
239239
overflow: auto;
240240
}
241241
</code>
@@ -317,8 +317,8 @@ This works only if the class="segment" elements have no direct content, because
317317
height:60%;
318318
margin-top:10%;
319319

320-
/* This region will catch all the overflow content */
321-
region-overflow:auto;
320+
/* Control the overflow behavior of the last region in the named flow */
321+
region-fragment:auto;
322322
overflow:auto;
323323
}
324324
</code>

0 commit comments

Comments
 (0)