Skip to content

Commit 691942a

Browse files
nt1mfantasai
authored andcommitted
[css-masking] Make interpolation of mask-border-* consistent with border-image-*
Fixes #529
1 parent 4041b2a commit 691942a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-masking-1/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ Inherited: no
10311031
Percentages: refer to size of the <a>mask border image</a>
10321032
Computed value: as specified
10331033
Media: visual
1034-
Animation type: discrete
1034+
Animation type: by computed value
10351035
</pre>
10361036

10371037
This property specifies inward offsets from the top, right, bottom, and left edges of the <a>mask border image</a>, dividing it into nine regions: four corners, four edges and a middle. The middle image part is discarded and treated as fully opaque white (the content covered by the middle part is not masked and shines through) unless the <dfn dfn-for=mask-border-slice dfn-type=value>fill</dfn> keyword is present.
@@ -1050,7 +1050,7 @@ Inherited: no
10501050
Percentages: relative to width/height of the <a>mask border image area</a>
10511051
Computed value: all <<length>>s made absolute, otherwise as specified
10521052
Media: visual
1053-
Animation type: discrete
1053+
Animation type: by computed value
10541054
</pre>
10551055

10561056
The <a>mask border image</a> is drawn inside an area called the <dfn export>mask border image area</dfn>. This is an area whose boundaries by default correspond to the border box, see 'mask-border-outset'.
@@ -1071,7 +1071,7 @@ Inherited: no
10711071
Percentages: n/a
10721072
Computed value: all <<length>>s made absolute, otherwise as specified
10731073
Media: visual
1074-
Animation type: discrete
1074+
Animation type: by computed value
10751075
</pre>
10761076

10771077
The values specify the amount by which the <a>mask border image area</a> extends beyond the border box. If it has four values, they set the outsets on the top, right, bottom and left sides in that order. If the left is missing, it is the same as the right; if the bottom is missing, it is the same as the top; if the right is missing, it is the same as the top.

0 commit comments

Comments
 (0)