Skip to content

Commit 04d36a1

Browse files
committed
[css-shapes] editorial clarifications
1 parent a23e0e0 commit 04d36a1

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

css-shapes/Overview.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,10 @@ <h3 class="heading settled heading" data-level=3.1 id=supported-basic-shapes><sp
490490
of the ellipse,
491491
in that order.
492492
Negative values for either radius are invalid.
493+
Percentage values here are resolved
494+
against the used width (for the rx value)
495+
and the used height (for the ry value)
496+
of the reference box.
493497
</li>
494498
<li>
495499
The position argument defines
@@ -629,6 +633,9 @@ <h2 class="heading settled heading" data-level=4 id=shapes-from-image><span clas
629633
that enclose the area(s)
630634
where the opacity of the specified image
631635
is greater than the <a class=property data-link-type=propdesc href=#propdef-shape-image-threshold title=shape-image-threshold>shape-image-threshold</a> value.
636+
The absence of any pixels with an alpha value
637+
larger than the specified threshold
638+
results in an <a data-link-type=dfn href=#empty-float-area title="empty float area">empty float area</a>.
632639
If the <a class=property data-link-type=propdesc href=#propdef-shape-image-threshold title=shape-image-threshold>shape-image-threshold</a> is not specified,
633640
the initial value to be considered is 0.0.
634641

css-shapes/Overview.src.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,10 @@ <h3 id="supported-basic-shapes">
371371
of the ellipse,
372372
in that order.
373373
Negative values for either radius are invalid.
374+
Percentage values here are resolved
375+
against the used width (for the rx value)
376+
and the used height (for the ry value)
377+
of the reference box.
374378
</li>
375379
<li>
376380
The position argument defines
@@ -510,6 +514,9 @@ <h2 id="shapes-from-image">
510514
that enclose the area(s)
511515
where the opacity of the specified image
512516
is greater than the 'shape-image-threshold' value.
517+
The absence of any pixels with an alpha value
518+
larger than the specified threshold
519+
results in an <a>empty float area</a>.
513520
If the 'shape-image-threshold' is not specified,
514521
the initial value to be considered is 0.0.
515522

0 commit comments

Comments
 (0)