Skip to content

Commit fda6d8c

Browse files
test: write the embedded stylesheet's data: payload without a fragment
A raw # ends the payload a browser reads, so the minifier now leaves it as written; spell the color without one so the case still minifies it.
1 parent 44d6c44 commit fda6d8c

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎test/configCases/embedded/everything/sheet-asset.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url("data:text/css,.imported { color : #ff0000 }") ;
1+
@import url("data:text/css,.imported { color : rgb( 255 , 0 , 0 ) }") ;
22

33
/* One payload per language a media type can name, plain and base64. */
44
.svg { background : url("data:image/svg+xml,<svg> <rect fill='red' /> </svg>") ; }

‎test/configCases/embedded/everything/sheet-sheet.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url("data:text/css,.imported { color : #ff0000 }") ;
1+
@import url("data:text/css,.imported { color : rgb( 255 , 0 , 0 ) }") ;
22

33
/* One payload per language a media type can name, plain and base64. */
44
.svg { background : url("data:image/svg+xml,<svg> <rect fill='red' /> </svg>") ; }

‎test/configCases/embedded/everything/sheet-style.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url("data:text/css,.imported { color : #ff0000 }") ;
1+
@import url("data:text/css,.imported { color : rgb( 255 , 0 , 0 ) }") ;
22

33
/* One payload per language a media type can name, plain and base64. */
44
.svg { background : url("data:image/svg+xml,<svg> <rect fill='red' /> </svg>") ; }

‎test/configCases/embedded/everything/sheet-text.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url("data:text/css,.imported { color : #ff0000 }") ;
1+
@import url("data:text/css,.imported { color : rgb( 255 , 0 , 0 ) }") ;
22

33
/* One payload per language a media type can name, plain and base64. */
44
.svg { background : url("data:image/svg+xml,<svg> <rect fill='red' /> </svg>") ; }

0 commit comments

Comments
 (0)