Skip to content

Commit e8eff13

Browse files
committed
Remove obsolete test cases for disallowed RGB(A) colors
1 parent 555c705 commit e8eff13

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/phpunit/tests/kses.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,16 +1228,6 @@ public function data_safecss_filter_attr() {
12281228
'css' => 'background-color: rgba(0, 0, 0, .1)',
12291229
'expected' => 'background-color: rgba(0, 0, 0, .1)',
12301230
),
1231-
// RGB color values are not allowed.
1232-
array(
1233-
'css' => 'color: rgb( 100, 100, 100 )',
1234-
'expected' => '',
1235-
),
1236-
// RGBA color values are not allowed.
1237-
array(
1238-
'css' => 'color: rgb( 100, 100, 100, .4 )',
1239-
'expected' => '',
1240-
),
12411231
// Allow min().
12421232
array(
12431233
'css' => 'width: min(50%, 400px)',

0 commit comments

Comments
 (0)