Skip to content

Commit 27f4078

Browse files
committed
Update all of the fixtures that use data: protocols.
1 parent cfbacc0 commit 27f4078

File tree

156 files changed

+285
-285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+285
-285
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- wp:core/audio {"align":"right"} -->
22
<figure class="wp-block-audio alignright">
3-
<audio controls="" src="data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"></audio>
3+
<audio controls="" src="http://localhost:8888/wp-content/uploads/foo.mp3"></audio>
44
</figure>
55
<!-- /wp:core/audio -->

test/integration/fixtures/blocks/core__audio.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"name": "core/audio",
55
"isValid": true,
66
"attributes": {
7-
"src": "data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
7+
"src": "http://localhost:8888/wp-content/uploads/foo.mp3",
88
"caption": "",
99
"autoplay": false,
1010
"loop": false,
1111
"align": "right"
1212
},
1313
"innerBlocks": [],
14-
"originalContent": "<figure class=\"wp-block-audio alignright\">\n <audio controls=\"\" src=\"data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"></audio>\n</figure>"
14+
"originalContent": "<figure class=\"wp-block-audio alignright\">\n <audio controls=\"\" src=\"http://localhost:8888/wp-content/uploads/foo.mp3\"></audio>\n</figure>"
1515
}
1616
]

test/integration/fixtures/blocks/core__audio.parsed.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"align": "right"
66
},
77
"innerBlocks": [],
8-
"innerHTML": "\n<figure class=\"wp-block-audio alignright\">\n <audio controls=\"\" src=\"data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"></audio>\n</figure>\n",
8+
"innerHTML": "\n<figure class=\"wp-block-audio alignright\">\n <audio controls=\"\" src=\"http://localhost:8888/wp-content/uploads/foo.mp3\"></audio>\n</figure>\n",
99
"innerContent": [
10-
"\n<figure class=\"wp-block-audio alignright\">\n <audio controls=\"\" src=\"data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"></audio>\n</figure>\n"
10+
"\n<figure class=\"wp-block-audio alignright\">\n <audio controls=\"\" src=\"http://localhost:8888/wp-content/uploads/foo.mp3\"></audio>\n</figure>\n"
1111
]
1212
}
1313
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<!-- wp:audio {"align":"right"} -->
2-
<figure class="wp-block-audio alignright"><audio controls src="data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"></audio></figure>
2+
<figure class="wp-block-audio alignright"><audio controls src="http://localhost:8888/wp-content/uploads/foo.mp3"></audio></figure>
33
<!-- /wp:audio -->

test/integration/fixtures/blocks/core__cover.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<!-- wp:cover {"url":"data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=","dimRatio":40} -->
1+
<!-- wp:cover {"url":"http://localhost:8888/wp-content/uploads/foo.jpg","dimRatio":40} -->
22
<div class="wp-block-cover">
33
<span aria-hidden="true" class="has-background-dim-40 wp-block-cover__gradient-background has-background-dim"></span>
4-
<img class="wp-block-cover__image-background" alt="" src="data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=" data-object-fit="cover"/>
4+
<img class="wp-block-cover__image-background" alt="" src="http://localhost:8888/wp-content/uploads/foo.jpg" data-object-fit="cover"/>
55
<div class="wp-block-cover__inner-container">
66
<!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} -->
77
<p class="has-text-align-center has-large-font-size">

test/integration/fixtures/blocks/core__cover.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "core/cover",
55
"isValid": true,
66
"attributes": {
7-
"url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=",
7+
"url": "http://localhost:8888/wp-content/uploads/foo.jpg",
88
"alt": "",
99
"hasParallax": false,
1010
"isRepeated": false,
@@ -28,6 +28,6 @@
2828
"originalContent": "<p class=\"has-text-align-center has-large-font-size\">\n Guten Berg!\n </p>"
2929
}
3030
],
31-
"originalContent": "<div class=\"wp-block-cover\">\n <span aria-hidden=\"true\" class=\"has-background-dim-40 wp-block-cover__gradient-background has-background-dim\"></span>\n <img class=\"wp-block-cover__image-background\" alt=\"\" src=\"data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=\" data-object-fit=\"cover\"/>\n <div class=\"wp-block-cover__inner-container\">\n \n </div>\n</div>"
31+
"originalContent": "<div class=\"wp-block-cover\">\n <span aria-hidden=\"true\" class=\"has-background-dim-40 wp-block-cover__gradient-background has-background-dim\"></span>\n <img class=\"wp-block-cover__image-background\" alt=\"\" src=\"http://localhost:8888/wp-content/uploads/foo.jpg\" data-object-fit=\"cover\"/>\n <div class=\"wp-block-cover__inner-container\">\n \n </div>\n</div>"
3232
}
3333
]

test/integration/fixtures/blocks/core__cover.parsed.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"blockName": "core/cover",
44
"attrs": {
5-
"url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=",
5+
"url": "http://localhost:8888/wp-content/uploads/foo.jpg",
66
"dimRatio": 40
77
},
88
"innerBlocks": [
@@ -20,9 +20,9 @@
2020
]
2121
}
2222
],
23-
"innerHTML": "\n<div class=\"wp-block-cover\">\n <span aria-hidden=\"true\" class=\"has-background-dim-40 wp-block-cover__gradient-background has-background-dim\"></span>\n <img class=\"wp-block-cover__image-background\" alt=\"\" src=\"data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=\" data-object-fit=\"cover\"/>\n <div class=\"wp-block-cover__inner-container\">\n \n </div>\n</div>\n",
23+
"innerHTML": "\n<div class=\"wp-block-cover\">\n <span aria-hidden=\"true\" class=\"has-background-dim-40 wp-block-cover__gradient-background has-background-dim\"></span>\n <img class=\"wp-block-cover__image-background\" alt=\"\" src=\"http://localhost:8888/wp-content/uploads/foo.jpg\" data-object-fit=\"cover\"/>\n <div class=\"wp-block-cover__inner-container\">\n \n </div>\n</div>\n",
2424
"innerContent": [
25-
"\n<div class=\"wp-block-cover\">\n <span aria-hidden=\"true\" class=\"has-background-dim-40 wp-block-cover__gradient-background has-background-dim\"></span>\n <img class=\"wp-block-cover__image-background\" alt=\"\" src=\"data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=\" data-object-fit=\"cover\"/>\n <div class=\"wp-block-cover__inner-container\">\n ",
25+
"\n<div class=\"wp-block-cover\">\n <span aria-hidden=\"true\" class=\"has-background-dim-40 wp-block-cover__gradient-background has-background-dim\"></span>\n <img class=\"wp-block-cover__image-background\" alt=\"\" src=\"http://localhost:8888/wp-content/uploads/foo.jpg\" data-object-fit=\"cover\"/>\n <div class=\"wp-block-cover__inner-container\">\n ",
2626
null,
2727
"\n </div>\n</div>\n"
2828
]

test/integration/fixtures/blocks/core__cover.serialized.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!-- wp:cover {"url":"data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=","dimRatio":40} -->
2-
<div class="wp-block-cover"><span aria-hidden="true" class="has-background-dim-40 wp-block-cover__gradient-background has-background-dim"></span><img class="wp-block-cover__image-background" alt="" src="data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} -->
1+
<!-- wp:cover {"url":"http://localhost:8888/wp-content/uploads/foo.jpg","dimRatio":40} -->
2+
<div class="wp-block-cover"><span aria-hidden="true" class="has-background-dim-40 wp-block-cover__gradient-background has-background-dim"></span><img class="wp-block-cover__image-background" alt="" src="http://localhost:8888/wp-content/uploads/foo.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} -->
33
<p class="has-text-align-center has-large-font-size">
44
Guten Berg!
55
</p>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<!-- wp:cover-image {"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==","id":34} -->
2-
<section class="wp-block-cover-image has-background-dim" style="background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==)"><h2><strong>Cover Image</strong></h2></section>
1+
<!-- wp:cover-image {"url":"http://localhost:8888/wp-content/uploads/foo.jpg","id":34} -->
2+
<section class="wp-block-cover-image has-background-dim" style="background-image:url(http://localhost:8888/wp-content/uploads/foo.jpg)"><h2><strong>Cover Image</strong></h2></section>
33
<!-- /wp:cover-image -->

test/integration/fixtures/blocks/core__cover__deprecated-1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "core/cover",
55
"isValid": true,
66
"attributes": {
7-
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
7+
"url": "http://localhost:8888/wp-content/uploads/foo.jpg",
88
"id": 34,
99
"hasParallax": false,
1010
"dimRatio": 50,
@@ -25,6 +25,6 @@
2525
"innerBlocks": []
2626
}
2727
],
28-
"originalContent": "<section class=\"wp-block-cover-image has-background-dim\" style=\"background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==)\"><h2><strong>Cover Image</strong></h2></section>"
28+
"originalContent": "<section class=\"wp-block-cover-image has-background-dim\" style=\"background-image:url(http://localhost:8888/wp-content/uploads/foo.jpg)\"><h2><strong>Cover Image</strong></h2></section>"
2929
}
3030
]

0 commit comments

Comments
 (0)