| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <title>mpadded percentages</title> |
| <link rel="help" href="https://w3c.github.io/mathml-core/#inner-box-and-requested-parameters"> |
| <meta name="assert" content="Verify that percentage values for mpadded do not use refer to the containing block"> |
| <link rel="match" href="mpadded-percentage-001-ref.html"> |
| <style> |
| .red { |
| background: red; |
| } |
| </style> |
| </head> |
| <body> |
| <p>This test passes if there is a green square with no red.</p> |
| <math display="block" |
| style="width: 200px; height: 200px; background: green"> |
| <mpadded width="5%" height="10px" class="red"></mpadded> |
| <mpadded width=" 5%" height="10px" class="red"></mpadded> |
| <mpadded width="5% " height="10px" class="red"></mpadded> |
| <mpadded width="10px" height="5%" class="red"></mpadded> |
| <mpadded width="10px" height=" 5%" class="red"></mpadded> |
| <mpadded width="10px" height="5% " class="red"></mpadded> |
| <mpadded width="10px" depth="5%" class="red"></mpadded> |
| <mpadded width="10px" depth=" 5%" class="red"></mpadded> |
| <mpadded width="10px" depth="5% " class="red"></mpadded> |
| <mpadded width="10px" height="5%" depth="5%" class="red"></mpadded> |
| <mpadded width="10px" height=" 5%" depth=" 5%" class="red"></mpadded> |
| <mpadded width="10px" height="5% " depth="5% " class="red"></mpadded> |
| </math> |
| </body> |
| </html> |