Skip to content

Commit a717599

Browse files
committed
nits
1 parent 8e7980a commit a717599

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-borders-4/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,18 +1483,18 @@ An [=/element=]'s [=outline=] follows the [=outer contour=] with the [=used valu
14831483
The precise way in which it is rendered is implementation-defined.
14841484

14851485
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'.
14871487

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'.
14891489

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.
14911491

14921492
<h5 id=vector-math-helpers>Vector Math Helpers</h5>
14931493

14941494
A <dfn>two-dimensional vector</dfn> is a pair of numbers (x, y).
14951495
<div algorithm="extend-point">
14961496
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}}.
14981498
1. Let |y| be |p|'s {{DOMPointReadOnly/y}}.
14991499
1. [=list/For each=] |v| in |vectors|:
15001500
1. Increment |x| by |v|[0];
@@ -1598,7 +1598,7 @@ To get the <dfn>border-aligned corner clip-out path</dfn> given a {{DOMPointRead
15981598
1. Let |v2| be [=vector between two points|the vector between=] |curveCenter| and |adjustedCornerStart|, [=two-dimensional vector/scale|scaled by=] |y|.
15991599
1. Return the {{DOMPointReadOnly}} at <code>(|x|, |y|)</code>, [=point extended by vectors|extended by=] « |v1|, |v2| ».
16001600

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>.
16021602
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>.
16031603
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>.
16041604

0 commit comments

Comments
 (0)