Skip to content

Commit

Permalink
fix the syntax code and correct the macro call (mdn#31803)
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Jan 19, 2024
1 parent 8035094 commit 024a923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/mathml/element/maction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This element's attributes include the [global MathML attributes](/en-US/docs/Web
- : The action which specifies what happens for this element. Special behavior
for the following values were implemented by some browsers:

- `statusline`: If there is a click on the _expression_ or the reader moves the pointer over it, the _message_ is sent to the browser's status line. The syntax is: `<maction actiontype="statusline"> expression message </maction>.`
- `statusline`: If there is a click on the _expression_ or the reader moves the pointer over it, the _message_ is sent to the browser's status line. The syntax is: `<maction actiontype="statusline"> expression message </maction>`.
- `toggle`: When there is a click on the subexpression, the rendering alternates the display of selected subexpressions. Therefore each click increments the `selection` value.
The syntax is: `<maction actiontype="toggle" selection="positive-integer" > expression1 expression2 expressionN </maction>`.

Expand Down Expand Up @@ -66,7 +66,7 @@ The following example uses the "toggle" `actiontype`:
</p>
```

{{ EmbedLiveSample('maction_example', 700, 200, "", "") }}
{{EmbedLiveSample('Examples', 700, 200)}}

## Specifications

Expand Down

0 comments on commit 024a923

Please sign in to comment.