File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
tests/phpunit/tests/fonts/font-face/wpFontFace Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -411,17 +411,17 @@ protected function normalize_css_font_family( string $font_family ): string {
411411 $ font_family ,
412412 array (
413413 /*
414- * Normalize preprocessed whitespace.
415- * https://www.w3.org/TR/css-syntax-3/#input-preprocessing
416- */
414+ * Normalize preprocessed whitespace.
415+ * https://www.w3.org/TR/css-syntax-3/#input-preprocessing
416+ */
417417 "\r" => '\\A ' ,
418418 "\f" => '\\A ' ,
419419 "\r\n" => '\\A ' ,
420420
421421 /*
422- * CSS unicode escaping for problematic characters.
423- * https://www.w3.org/TR/css-syntax-3/#escaping
424- */
422+ * CSS Unicode escaping for problematic characters.
423+ * https://www.w3.org/TR/css-syntax-3/#escaping
424+ */
425425 "\n" => '\\A ' ,
426426 '\\' => '\\5C ' ,
427427 ', ' => '\\2C ' ,
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public static function data_font_family_normalization() {
6464 }
6565
6666 /**
67- * Ensure unexpected quoted font family names are normlized with a doing it wrong notice.
67+ * Ensure already- quoted font family names emit doing it wrong notice and skip normalization .
6868 *
6969 * @expectedIncorrectUsage WP_Font_Face::normalize_css_font_family
7070 *
You can’t perform that action at this time.
0 commit comments