Skip to content

Commit

Permalink
fix(svg): remove not working csssyntax macros (#33330)
Browse files Browse the repository at this point in the history
csssyntax requires a css page type and is broken on svg pages.
Link to the #formal_syntax on the according page instead.
  • Loading branch information
fiji-flo committed Apr 30, 2024
1 parent 5d19ba9 commit 59f3071
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/svg/attribute/display/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ svg {
</tr>
<tr>
<th scope="row">Value</th>
<td>{{csssyntax("display")}}</td>
<td>See {{cssxref("display", "", "#formal_syntax")}}</td>
</tr>
<tr>
<th scope="row">Animatable</th>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/attribute/font-family/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ svg {
<tbody>
<tr>
<th scope="row">Value</th>
<td>{{csssyntax("font-family")}}</td>
<td>See {{cssxref("font-family", "", "#formal_syntax")}}</td>
</tr>
<tr>
<th scope="row">Default value</th>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/attribute/font-stretch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You can use this attribute with the following SVG elements:
<tbody>
<tr>
<th scope="row">Value</th>
<td>{{csssyntax("font-stretch")}}</td>
<td>See {{cssxref("font-stretch", "", "#formal_syntax")}}</td>
</tr>
<tr>
<th scope="row">Default value</th>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/attribute/transform-origin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can use this attribute with any SVG element.
<tbody>
<tr>
<td><strong>Values</strong></td>
<td>{{csssyntax("transform-origin")}}</td>
<td>See {{cssxref("transform-origin", "", "#formal_syntax")}}</td>
</tr>
<tr>
<td><strong>Default value</strong></td>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/attribute/unicode-bidi/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can use this attribute with the following SVG elements:
<tbody>
<tr>
<th scope="row">Value</th>
<td>{{csssyntax("unicode-bidi")}}</td>
<td>See {{cssxref("unicode-bidi", "", "#formal_syntax")}}</td>
</tr>
<tr>
<th scope="row">Default value</th>
Expand Down

0 comments on commit 59f3071

Please sign in to comment.