master
Aevann1 2021-11-07 23:00:37 +02:00
parent 3c881cd358
commit bcf35bf2fd
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ def sanitize_marquee(tag, name, value):
if name in ['width', 'height']: if name in ['width', 'height']:
try: value = int(value) try: value = int(value)
except: return False except: return False
if 0 < value <= 200: return True if 0 < value <= 500: return True
return False return False

View File

@ -419,12 +419,12 @@ line breaks
<tr> <tr>
<td>Marquee</td> <td>Marquee</td>
<td> <td>
&lt;marquee width="60%" direction="up" height="100px"&gt; &lt;marquee direction="up" scrollamount="10" behavior="scroll" height="100" width="60"&gt;
This is a sample scrolling text that has scrolls in the upper direction. This is a sample scrolling text that has scrolls in the upper direction.
&lt;/marquee&gt; &lt;/marquee&gt;
</td> </td>
<td> <td>
<marquee width="60%" direction="up" height="100px"> <marquee direction="up" scrollamount="10" behavior="scroll" height="100" width="60">
This is a sample scrolling text that has scrolls in the upper direction. This is a sample scrolling text that has scrolls in the upper direction.
</marquee> </marquee>
</td> </td>