You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-borders-4/Overview.bs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1483,18 +1483,18 @@ An [=/element=]'s [=outline=] follows the [=outer contour=] with the [=used valu
1483
1483
The precise way in which it is rendered is implementation-defined.
1484
1484
1485
1485
An [=/element=]'s [=overflow=] area is shaped by its [=inner contour=].
1486
-
An [=/element=]'s [=overflow clip edge=] is shaped by the [=border contour path=] given |element|, and an [=inset from a uniform outset=] given |element|'s [=used value|used=]'overflow-clip-margin'.
1486
+
An [=/element=]'s [=overflow clip edge=] is shaped by the [=border contour path=] given |element|, and an [=uniform inset from an outset=] given |element|'s [=used value|used=]'overflow-clip-margin'.
1487
1487
1488
-
Each shadow of [=/element=]'s 'box-shadow' is shaped by the [=border contour path=] given |element|, and an [=inset from a uniform outset=] given the shadow's [=used value|used=]'box-shadow-spread'.
1488
+
Each shadow of [=/element=]'s 'box-shadow' is shaped by the [=border contour path=] given |element|, and an [=uniform inset from an outset=] given the shadow's [=used value|used=]'box-shadow-spread'.
1489
1489
1490
-
An <dfn>inset from a uniform outset</dfn> given a number |outset| is an [=edge=] whose value is <code>-|outset|</code> in all directions.
1490
+
An <dfn>uniform inset from an outset</dfn> given a number |outset| is an [=edge=] whose value is <code>-|outset|</code> in all directions.
1491
1491
1492
1492
<h5 id=vector-math-helpers>Vector Math Helpers</h5>
1493
1493
1494
1494
A <dfn>two-dimensional vector</dfn> is a pair of numbers (x, y).
1495
1495
<div algorithm="extend-point">
1496
1496
A <dfn>point extended by vectors</dfn> given a {{DOMPointReadOnly}} |p| and a [=/list=] of [=two-dimensional vector=]s |vectors|:
1497
-
1. Let |x| be |p|'s {{DOMPointReadOnly/y}}.
1497
+
1. Let |x| be |p|'s {{DOMPointReadOnly/x}}.
1498
1498
1. Let |y| be |p|'s {{DOMPointReadOnly/y}}.
1499
1499
1. [=list/For each=] |v| in |vectors|:
1500
1500
1. Increment |x| by |v|[0];
@@ -1598,7 +1598,7 @@ To get the <dfn>border-aligned corner clip-out path</dfn> given a {{DOMPointRead
1598
1598
1. Let |v2| be [=vector between two points|the vector between=] |curveCenter| and |adjustedCornerStart|, [=two-dimensional vector/scale|scaled by=] |y|.
1599
1599
1. Return the {{DOMPointReadOnly}} at <code>(|x|, |y|)</code>, [=point extended by vectors|extended by=] « |v1|, |v2| ».
1600
1600
1601
-
1. Let |controlPoint| be the result of calling |mapPointToCorner| given |unitVectorFromStartToControlPoint|'s {{DOMPointReadOnly/y}} and <code>1 - |unitVectorFromStartToControlPoint|'s {{DOMPointReadOnly/x}}</code>.
1601
+
1. Let |controlPoint| be the result of calling |mapPointToCorner| given |vectorFromStartToControlPoint|'s {{DOMPointReadOnly/y}} and <code>1 - |unitVectorFromStartToControlPoint|'s {{DOMPointReadOnly/x}}</code>.
1602
1602
1. Let |axisAlignedCornerStart| be the intersection between the lines <code>(|adjustedCornerStart|, |controlPoint|)</code> and <code>(|clipStart|, |clipOuter|)</code>. If the lines are parallel, let it be <code>adjustedCornerStart</code>.
1603
1603
1. Let |axisAlignedCornerEnd| be the intersection between the lines <code>(|adjustedCornerEnd|, |controlPoint|)</code> and <code>(|clipEnd|, |clipOuter|)</code>. If the lines are parallel, let it be <code>adjustedCornerEnd</code>.
0 commit comments