@@ -74,12 +74,12 @@ static function ( OD_Tag_Visitor_Context $context ) use ( $test_case ): bool {
74
74
<title>...</title>
75
75
</head>
76
76
<body>
77
- <figure class="wp-block-embed is-type-video">
77
+ <figure style="background: black; color:gray" class="wp-block-embed is-type-video">
78
78
<div class="wp-block-embed__wrapper">
79
79
<video src="https://example.com/video1.mp4" poster="https://example.com/poster1.jpg" width="640" height="480"></video>
80
80
</div>
81
81
</figure>
82
- <figure class="wp-block-embed is-type-rich is-provider-figurine wp-block-embed-figurine">
82
+ <figure style="background: black; color: white;" class="wp-block-embed is-type-rich is-provider-figurine wp-block-embed-figurine">
83
83
<div class="wp-block-embed__wrapper">
84
84
<figure>
85
85
<p>So I heard you like <code>FIGURE</code>?</p>
@@ -101,12 +101,12 @@ static function ( OD_Tag_Visitor_Context $context ) use ( $test_case ): bool {
101
101
<link data-od-added-tag rel="preload" as="image" href="https://example.com/poster1.jpg">
102
102
</head>
103
103
<body>
104
- <figure data-od-added -style style="min-height: 500px;" class="wp-block-embed is-type-video">
104
+ <figure data-od-replaced -style="background: black; color:gray" style="background: black; color:gray; min-height: 500px;" class="wp-block-embed is-type-video">
105
105
<div data-od-xpath="/*[1][self::HTML]/*[2][self::BODY]/*[1][self::FIGURE]/*[1][self::DIV]" class="wp-block-embed__wrapper">
106
106
<video data-od-added-preload data-od-xpath="/*[1][self::HTML]/*[2][self::BODY]/*[1][self::FIGURE]/*[1][self::DIV]/*[1][self::VIDEO]" preload="auto" src="https://example.com/video1.mp4" poster="https://example.com/poster1.jpg" width="640" height="480"></video>
107
107
</div>
108
108
</figure>
109
- <figure data-od-added -style style="min-height: 500px;" class="wp-block-embed is-type-rich is-provider-figurine wp-block-embed-figurine">
109
+ <figure data-od-replaced -style="background: black; color: white;" style="background: black; color: white; min-height: 500px;" class="wp-block-embed is-type-rich is-provider-figurine wp-block-embed-figurine">
110
110
<div data-od-xpath="/*[1][self::HTML]/*[2][self::BODY]/*[2][self::FIGURE]/*[1][self::DIV]" class="wp-block-embed__wrapper">
111
111
<figure>
112
112
<p>So I heard you like <code>FIGURE</code>?</p>
0 commit comments