Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -312,6 +312,42 @@ |
313 | 313 | |
314 | 314 | !! end |
315 | 315 | |
| 316 | +!! test |
| 317 | +<pre> with attributes (bug 3202) |
| 318 | +!! input |
| 319 | +<pre style="background: blue; color:white">Bluescreen of WikiDeath</pre> |
| 320 | +!! result |
| 321 | +<pre style="background: blue; color:white">Bluescreen of WikiDeath</pre> |
| 322 | + |
| 323 | +!! end |
| 324 | + |
| 325 | +!! test |
| 326 | +<pre> with width attribute (bug 3202) |
| 327 | +!! input |
| 328 | +<pre width="8">Narrow screen goodies</pre> |
| 329 | +!! result |
| 330 | +<pre width="8">Narrow screen goodies</pre> |
| 331 | + |
| 332 | +!! end |
| 333 | + |
| 334 | +!! test |
| 335 | +<pre> with forbidden attribute (bug 3202) |
| 336 | +!! input |
| 337 | +<pre width="8" onmouseover="alert(document.cookie)">Narrow screen goodies</pre> |
| 338 | +!! result |
| 339 | +<pre width="8">Narrow screen goodies</pre> |
| 340 | + |
| 341 | +!! end |
| 342 | + |
| 343 | +!! test |
| 344 | +<pre> with forbidden attribute values (bug 3202) |
| 345 | +!! input |
| 346 | +<pre width="8" style="border-width: expression(alert(document.cookie))">Narrow screen goodies</pre> |
| 347 | +!! result |
| 348 | +<pre width="8">Narrow screen goodies</pre> |
| 349 | + |
| 350 | +!! end |
| 351 | + |
316 | 352 | ### |
317 | 353 | ### Definition lists |
318 | 354 | ### |