Skip to content

Commit 2afdbd4

Browse files
Simon FraserSimon Fraser
authored andcommitted
https://github.com/w3c/csswg-drafts/issues/931
Added an advisement about skew() with two parameters, noting that it's there for legacy reasons and should not be used in new content.
1 parent 3e279e3 commit 2afdbd4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

css-transforms/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $(LINKEDFILE) : $(SOURCEFILE)
2121

2222
$(OUTPUTFILE): $(LINKEDFILE)
2323
ifneq (,$(REMOTE))
24-
curl $(REMOTE_PREPROCESSOR_URL) -F file=@$(LINKEDFILE) > "$@"
24+
curl $(REMOTE_PREPROCESSOR_URL) -F file=@$(LINKEDFILE) -F force=1 > "$@"
2525
else
2626
$(PREPROCESSOR) -f spec "$<" "$@"
2727
endif

css-transforms/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,8 @@ A percentage for vertical translations is relative to the height of the [=refere
629629

630630
: <span class='prod'><dfn>skew()</dfn> = skew( [ <<angle>> | <<zero>> ] [, [ <<angle>> | <<zero>> ] ]? )</span>
631631
:: specifies a <a href="#SkewDefined">2D skew</a> by [ax,ay] for X and Y. If the second parameter is not provided, it has a zero value.
632-
<p class="note">Note that the behavior of ''skew()'' is different from multiplying ''skewX()'' with ''skewY()''. Implementations must support this function for compatibility with legacy content.
632+
633+
Advisement: ''skew()'' exists for compatibility reasons, and should not be used in new content. Use ''skewX()'' or ''skewY()'' instead, noting that the behavior of ''skew()'' is different from multiplying ''skewX()'' with ''skewY()''.
633634

634635
: <span class='prod'><dfn>skewX()</dfn> = skewX( [ <<angle>> | <<zero>> ] )</span>
635636
:: specifies a <a href="#SkewXDefined">2D skew transformation along the X axis</a> by the given angle.

0 commit comments

Comments
 (0)