- Timestamp:
- 10/20/2024 01:11:24 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/fonts/font-face/wpPrintFontFaces.php
r56540 r59259 56 56 57 57 $expected_output = <<<CSS 58 <style id='wp-fonts-local' type='text/css'>58 <style class='wp-fonts-local' type='text/css'> 59 59 @font-face{font-family:"Source Serif Pro";font-style:normal;font-weight:200 900;font-display:fallback;src:url('http://example.com/assets/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2') format('woff2');font-stretch:;} 60 60 </style> … … 77 77 78 78 private function get_expected_styles_output( $styles ) { 79 $style_element = "<style id='wp-fonts-local' type='text/css'>\n%s\n</style>\n";79 $style_element = "<style class='wp-fonts-local' type='text/css'>\n%s\n</style>\n"; 80 80 return sprintf( $style_element, $styles ); 81 81 }
Note: See TracChangeset
for help on using the changeset viewer.