@kumwe/studio-testkit 0.1.0-alpha.8 → 0.1.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +48 -14
  2. package/THIRD_PARTY_NOTICES.md +9 -0
  3. package/conformance/authoring-web/non-drag-move-equivalence.json +199 -0
  4. package/conformance/renderer-web/blob-default-deny.json +47 -0
  5. package/conformance/renderer-web/chart-fallback.json +39 -0
  6. package/conformance/renderer-web/complete-catalog.json +634 -0
  7. package/conformance/renderer-web/escaped-heading.json +28 -0
  8. package/conformance/renderer-web/interactive-behaviors.json +226 -0
  9. package/conformance/renderer-web/presentation-capabilities.json +76 -0
  10. package/conformance/renderer-web/responsive-grid.json +33 -0
  11. package/conformance/renderer-web/security-fallbacks.json +169 -0
  12. package/conformance/rich-text/advanced.first-party.json +67 -0
  13. package/corpus-manifest.json +106 -0
  14. package/dist/host-testbed.d.ts +3 -4
  15. package/dist/host-testbed.d.ts.map +1 -1
  16. package/dist/host-testbed.js +46 -6
  17. package/dist/host-testbed.js.map +1 -1
  18. package/dist/http-host-adapter.d.ts.map +1 -1
  19. package/dist/http-host-adapter.js +8 -0
  20. package/dist/http-host-adapter.js.map +1 -1
  21. package/dist/index.d.ts +44 -1
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +38 -1
  24. package/dist/index.js.map +1 -1
  25. package/dist/web-conformance.d.ts +105 -0
  26. package/dist/web-conformance.d.ts.map +1 -0
  27. package/dist/web-conformance.js +72 -0
  28. package/dist/web-conformance.js.map +1 -0
  29. package/fixtures/authoring-message-catalog.en.json +649 -0
  30. package/invalid/binding-projection-vector.unknown-status.json +85 -0
  31. package/invalid/studio-chart.script-config.json +10 -0
  32. package/invalid/studio-drawing.svg-payload.json +10 -0
  33. package/invalid/studio-money.float.json +8 -0
  34. package/invalid/studio-presentation.css-injection.json +8 -0
  35. package/invalid/studio-table.html-cell.json +8 -0
  36. package/package.json +7 -3
  37. package/studio-release.json +28 -0
  38. package/vectors/binding-projection/app-content-fields.resolved.json +286 -0
  39. package/vectors/binding-projection/field-removed.diagnostic.json +135 -0
  40. package/vectors/binding-projection/model-revision-mismatch.diagnostic.json +124 -0
  41. package/vectors/host/model.get.stored.json +37 -0
  42. package/vectors/host/model.list.authorized.json +31 -0
@@ -0,0 +1,634 @@
1
+ {
2
+ "id": "renderer-web/complete-catalog",
3
+ "coverage": {
4
+ "blockTypes": [
5
+ "studio.core/accordion",
6
+ "studio.core/accordion-item",
7
+ "studio.core/article",
8
+ "studio.core/attachment",
9
+ "studio.core/audio",
10
+ "studio.core/badge",
11
+ "studio.core/call-to-action",
12
+ "studio.core/callout",
13
+ "studio.core/card",
14
+ "studio.core/chart",
15
+ "studio.core/code",
16
+ "studio.core/columns",
17
+ "studio.core/content-collection",
18
+ "studio.core/content-reference",
19
+ "studio.core/countdown",
20
+ "studio.core/cover",
21
+ "studio.core/description-item",
22
+ "studio.core/description-list",
23
+ "studio.core/diagram",
24
+ "studio.core/dialog",
25
+ "studio.core/divider",
26
+ "studio.core/drawing",
27
+ "studio.core/embed",
28
+ "studio.core/gallery",
29
+ "studio.core/grid",
30
+ "studio.core/heading",
31
+ "studio.core/icon",
32
+ "studio.core/image",
33
+ "studio.core/label",
34
+ "studio.core/math",
35
+ "studio.core/money",
36
+ "studio.core/navigation",
37
+ "studio.core/navigation-item",
38
+ "studio.core/notice",
39
+ "studio.core/popover",
40
+ "studio.core/progress",
41
+ "studio.core/rich-text",
42
+ "studio.core/search",
43
+ "studio.core/section",
44
+ "studio.core/spinner",
45
+ "studio.core/stack",
46
+ "studio.core/tab",
47
+ "studio.core/table",
48
+ "studio.core/tabs",
49
+ "studio.core/video"
50
+ ],
51
+ "behaviors": [],
52
+ "presentation": [],
53
+ "security": ["typed-data-fallback"]
54
+ },
55
+ "roots": [
56
+ {
57
+ "authoring": { "mode": "structural" },
58
+ "bindings": {},
59
+ "id": "section",
60
+ "properties": {},
61
+ "slots": { "content": [] },
62
+ "type": "studio.core/section",
63
+ "version": "1.0.0"
64
+ },
65
+ {
66
+ "authoring": { "mode": "structural" },
67
+ "bindings": {},
68
+ "id": "stack",
69
+ "properties": { "direction": "block" },
70
+ "slots": { "items": [] },
71
+ "type": "studio.core/stack",
72
+ "version": "1.0.0"
73
+ },
74
+ {
75
+ "authoring": { "mode": "structural" },
76
+ "bindings": {},
77
+ "id": "grid",
78
+ "properties": { "collapse": "stack", "columns": 1 },
79
+ "slots": { "items": [] },
80
+ "type": "studio.core/grid",
81
+ "version": "1.0.0"
82
+ },
83
+ {
84
+ "authoring": { "mode": "structural" },
85
+ "bindings": {},
86
+ "id": "columns",
87
+ "properties": { "collapse": "stack", "columns": 1 },
88
+ "slots": { "items": [] },
89
+ "type": "studio.core/columns",
90
+ "version": "1.0.0"
91
+ },
92
+ {
93
+ "authoring": { "mode": "structural" },
94
+ "bindings": {},
95
+ "id": "accordion",
96
+ "properties": { "allow-multiple": false },
97
+ "slots": { "items": [] },
98
+ "type": "studio.core/accordion",
99
+ "version": "1.0.0"
100
+ },
101
+ {
102
+ "authoring": { "mode": "structural" },
103
+ "bindings": {},
104
+ "id": "accordion-item",
105
+ "properties": { "expanded": false },
106
+ "slots": { "content": [] },
107
+ "type": "studio.core/accordion-item",
108
+ "version": "1.0.0"
109
+ },
110
+ {
111
+ "authoring": { "mode": "structural" },
112
+ "bindings": {},
113
+ "id": "article",
114
+ "properties": {},
115
+ "slots": { "content": [] },
116
+ "type": "studio.core/article",
117
+ "version": "1.0.0"
118
+ },
119
+ {
120
+ "authoring": { "mode": "content" },
121
+ "bindings": {},
122
+ "id": "attachment",
123
+ "properties": { "download": true },
124
+ "slots": {},
125
+ "type": "studio.core/attachment",
126
+ "version": "1.0.0"
127
+ },
128
+ {
129
+ "authoring": { "mode": "content" },
130
+ "bindings": {},
131
+ "id": "audio",
132
+ "properties": { "autoplay": false, "controls": true },
133
+ "slots": {},
134
+ "type": "studio.core/audio",
135
+ "version": "1.0.0"
136
+ },
137
+ {
138
+ "authoring": { "mode": "content" },
139
+ "bindings": {},
140
+ "id": "badge",
141
+ "properties": { "appearance": "solid", "tone": "neutral" },
142
+ "slots": {},
143
+ "type": "studio.core/badge",
144
+ "version": "1.0.0"
145
+ },
146
+ {
147
+ "authoring": { "mode": "content" },
148
+ "bindings": {},
149
+ "id": "call-to-action",
150
+ "properties": { "appearance": "primary", "href": "" },
151
+ "slots": {},
152
+ "type": "studio.core/call-to-action",
153
+ "version": "1.0.0"
154
+ },
155
+ {
156
+ "authoring": { "mode": "content" },
157
+ "bindings": {},
158
+ "id": "callout",
159
+ "properties": { "tone": "information" },
160
+ "slots": {},
161
+ "type": "studio.core/callout",
162
+ "version": "1.0.0"
163
+ },
164
+ {
165
+ "authoring": { "mode": "structural" },
166
+ "bindings": {},
167
+ "id": "card",
168
+ "properties": { "appearance": "plain" },
169
+ "slots": { "actions": [] },
170
+ "type": "studio.core/card",
171
+ "version": "1.0.0"
172
+ },
173
+ {
174
+ "authoring": { "mode": "content" },
175
+ "bindings": {},
176
+ "id": "chart",
177
+ "properties": {},
178
+ "slots": {},
179
+ "type": "studio.core/chart",
180
+ "version": "1.0.0"
181
+ },
182
+ {
183
+ "authoring": { "mode": "content" },
184
+ "bindings": {},
185
+ "id": "code",
186
+ "properties": { "language": "text", "show-line-numbers": false },
187
+ "slots": {},
188
+ "type": "studio.core/code",
189
+ "version": "1.0.0"
190
+ },
191
+ {
192
+ "authoring": { "mode": "content" },
193
+ "bindings": {},
194
+ "id": "content-collection",
195
+ "properties": { "limit": 12, "presentation": "cards" },
196
+ "slots": {},
197
+ "type": "studio.core/content-collection",
198
+ "version": "1.0.0"
199
+ },
200
+ {
201
+ "authoring": { "mode": "content" },
202
+ "bindings": {},
203
+ "id": "content-reference",
204
+ "properties": { "presentation": "summary" },
205
+ "slots": {},
206
+ "type": "studio.core/content-reference",
207
+ "version": "1.0.0"
208
+ },
209
+ {
210
+ "authoring": { "mode": "content" },
211
+ "bindings": {},
212
+ "id": "countdown",
213
+ "properties": { "display": "compact", "expired-behavior": "zero" },
214
+ "slots": {},
215
+ "type": "studio.core/countdown",
216
+ "version": "1.0.0"
217
+ },
218
+ {
219
+ "authoring": { "mode": "structural" },
220
+ "bindings": {},
221
+ "id": "cover",
222
+ "properties": { "alignment": "center", "overlay": "medium" },
223
+ "slots": { "content": [] },
224
+ "type": "studio.core/cover",
225
+ "version": "1.0.0"
226
+ },
227
+ {
228
+ "authoring": { "mode": "content" },
229
+ "bindings": {},
230
+ "id": "description-item",
231
+ "properties": {},
232
+ "slots": {},
233
+ "type": "studio.core/description-item",
234
+ "version": "1.0.0"
235
+ },
236
+ {
237
+ "authoring": { "mode": "structural" },
238
+ "bindings": {},
239
+ "id": "description-list",
240
+ "properties": {},
241
+ "slots": {
242
+ "items": [
243
+ {
244
+ "authoring": { "mode": "content" },
245
+ "bindings": {},
246
+ "id": "description-list-item",
247
+ "properties": {},
248
+ "slots": {},
249
+ "type": "studio.core/description-item",
250
+ "version": "1.0.0"
251
+ }
252
+ ]
253
+ },
254
+ "type": "studio.core/description-list",
255
+ "version": "1.0.0"
256
+ },
257
+ {
258
+ "authoring": { "mode": "content" },
259
+ "bindings": {},
260
+ "id": "diagram",
261
+ "properties": { "theme": "neutral" },
262
+ "slots": {},
263
+ "type": "studio.core/diagram",
264
+ "version": "1.0.0"
265
+ },
266
+ {
267
+ "authoring": { "mode": "structural" },
268
+ "bindings": {},
269
+ "id": "dialog",
270
+ "properties": { "modal": true, "presentation": "modal" },
271
+ "slots": { "content": [] },
272
+ "type": "studio.core/dialog",
273
+ "version": "1.0.0"
274
+ },
275
+ {
276
+ "authoring": { "mode": "content" },
277
+ "bindings": {},
278
+ "id": "divider",
279
+ "properties": { "style": "solid" },
280
+ "slots": {},
281
+ "type": "studio.core/divider",
282
+ "version": "1.0.0"
283
+ },
284
+ {
285
+ "authoring": { "mode": "content" },
286
+ "bindings": {},
287
+ "id": "drawing",
288
+ "properties": {},
289
+ "slots": {},
290
+ "type": "studio.core/drawing",
291
+ "version": "1.0.0"
292
+ },
293
+ {
294
+ "authoring": { "mode": "content" },
295
+ "bindings": {},
296
+ "id": "embed",
297
+ "properties": { "aspect-ratio": "16:9" },
298
+ "slots": {},
299
+ "type": "studio.core/embed",
300
+ "version": "1.0.0"
301
+ },
302
+ {
303
+ "authoring": { "mode": "content" },
304
+ "bindings": {},
305
+ "id": "gallery",
306
+ "properties": { "autoplay": false, "columns": 4, "lightbox": false, "presentation": "grid" },
307
+ "slots": {},
308
+ "type": "studio.core/gallery",
309
+ "version": "1.0.0"
310
+ },
311
+ {
312
+ "authoring": { "mode": "content" },
313
+ "bindings": {},
314
+ "id": "heading",
315
+ "properties": { "level": 2 },
316
+ "slots": {},
317
+ "type": "studio.core/heading",
318
+ "version": "1.0.0"
319
+ },
320
+ {
321
+ "authoring": { "mode": "content" },
322
+ "bindings": {},
323
+ "id": "icon",
324
+ "properties": { "decorative": true, "name": "symbol" },
325
+ "slots": {},
326
+ "type": "studio.core/icon",
327
+ "version": "1.0.0"
328
+ },
329
+ {
330
+ "authoring": { "mode": "content" },
331
+ "bindings": {},
332
+ "id": "image",
333
+ "properties": { "fit": "cover", "loading": "lazy" },
334
+ "slots": {},
335
+ "type": "studio.core/image",
336
+ "version": "1.0.0"
337
+ },
338
+ {
339
+ "authoring": { "mode": "content" },
340
+ "bindings": {},
341
+ "id": "label",
342
+ "properties": { "tone": "neutral" },
343
+ "slots": {},
344
+ "type": "studio.core/label",
345
+ "version": "1.0.0"
346
+ },
347
+ {
348
+ "authoring": { "mode": "content" },
349
+ "bindings": {},
350
+ "id": "math",
351
+ "properties": { "display-mode": true },
352
+ "slots": {},
353
+ "type": "studio.core/math",
354
+ "version": "1.0.0"
355
+ },
356
+ {
357
+ "authoring": { "mode": "content" },
358
+ "bindings": {},
359
+ "id": "money",
360
+ "properties": {},
361
+ "slots": {},
362
+ "type": "studio.core/money",
363
+ "version": "1.0.0"
364
+ },
365
+ {
366
+ "authoring": { "mode": "structural" },
367
+ "bindings": {},
368
+ "id": "navigation",
369
+ "properties": { "presentation": "nav" },
370
+ "slots": { "items": [] },
371
+ "type": "studio.core/navigation",
372
+ "version": "1.0.0"
373
+ },
374
+ {
375
+ "authoring": { "mode": "structural" },
376
+ "bindings": {},
377
+ "id": "navigation-item",
378
+ "properties": { "current": false, "href": "" },
379
+ "slots": { "children": [] },
380
+ "type": "studio.core/navigation-item",
381
+ "version": "1.0.0"
382
+ },
383
+ {
384
+ "authoring": { "mode": "content" },
385
+ "bindings": {},
386
+ "id": "notice",
387
+ "properties": { "dismissible": false, "tone": "information" },
388
+ "slots": {},
389
+ "type": "studio.core/notice",
390
+ "version": "1.0.0"
391
+ },
392
+ {
393
+ "authoring": { "mode": "structural" },
394
+ "bindings": {},
395
+ "id": "popover",
396
+ "properties": { "dismiss-on-blur": true, "placement": "auto", "presentation": "popover" },
397
+ "slots": { "content": [] },
398
+ "type": "studio.core/popover",
399
+ "version": "1.0.0"
400
+ },
401
+ {
402
+ "authoring": { "mode": "content" },
403
+ "bindings": {},
404
+ "id": "progress",
405
+ "properties": { "maximum": 100 },
406
+ "slots": {},
407
+ "type": "studio.core/progress",
408
+ "version": "1.0.0"
409
+ },
410
+ {
411
+ "authoring": { "mode": "content" },
412
+ "bindings": {},
413
+ "id": "rich-text",
414
+ "properties": {},
415
+ "slots": {},
416
+ "type": "studio.core/rich-text",
417
+ "version": "1.0.0"
418
+ },
419
+ {
420
+ "authoring": { "mode": "content" },
421
+ "bindings": {},
422
+ "id": "search",
423
+ "properties": { "action": "", "query-parameter": "q" },
424
+ "slots": {},
425
+ "type": "studio.core/search",
426
+ "version": "1.0.0"
427
+ },
428
+ {
429
+ "authoring": { "mode": "content" },
430
+ "bindings": {},
431
+ "id": "spinner",
432
+ "properties": { "active": true, "size": "medium" },
433
+ "slots": {},
434
+ "type": "studio.core/spinner",
435
+ "version": "1.0.0"
436
+ },
437
+ {
438
+ "authoring": { "mode": "structural" },
439
+ "bindings": {},
440
+ "id": "tab",
441
+ "properties": {},
442
+ "slots": { "content": [] },
443
+ "type": "studio.core/tab",
444
+ "version": "1.0.0"
445
+ },
446
+ {
447
+ "authoring": { "mode": "content" },
448
+ "bindings": {},
449
+ "id": "table",
450
+ "properties": {},
451
+ "slots": {},
452
+ "type": "studio.core/table",
453
+ "version": "1.0.0"
454
+ },
455
+ {
456
+ "authoring": { "mode": "structural" },
457
+ "bindings": {},
458
+ "id": "tabs",
459
+ "properties": { "activation": "automatic" },
460
+ "slots": { "items": [] },
461
+ "type": "studio.core/tabs",
462
+ "version": "1.0.0"
463
+ },
464
+ {
465
+ "authoring": { "mode": "content" },
466
+ "bindings": {},
467
+ "id": "video",
468
+ "properties": { "autoplay": false, "controls": true, "muted": false },
469
+ "slots": {},
470
+ "type": "studio.core/video",
471
+ "version": "1.0.0"
472
+ }
473
+ ],
474
+ "bindings": [
475
+ {
476
+ "nodeId": "chart",
477
+ "port": "chart",
478
+ "value": {
479
+ "type": "bar",
480
+ "labels": ["A"],
481
+ "datasets": [{ "label": "Series", "values": [1] }]
482
+ }
483
+ },
484
+ { "nodeId": "countdown", "port": "target", "value": "2099-01-01T00:00:00.000Z" },
485
+ {
486
+ "nodeId": "drawing",
487
+ "port": "drawing",
488
+ "value": {
489
+ "alt": "Line",
490
+ "height": 10,
491
+ "strokes": [
492
+ {
493
+ "color": "#112233",
494
+ "points": [
495
+ { "x": 0, "y": 0 },
496
+ { "x": 10, "y": 10 }
497
+ ],
498
+ "width": 1
499
+ }
500
+ ],
501
+ "width": 10
502
+ }
503
+ },
504
+ { "nodeId": "money", "port": "amount", "value": { "amount": "10.00", "currency": "NAD" } },
505
+ { "nodeId": "progress", "port": "value", "value": 50 },
506
+ {
507
+ "nodeId": "rich-text",
508
+ "port": "content",
509
+ "value": {
510
+ "type": "doc",
511
+ "content": [
512
+ {
513
+ "type": "callout",
514
+ "attrs": { "tone": "warning" },
515
+ "content": [
516
+ {
517
+ "type": "paragraph",
518
+ "content": [
519
+ {
520
+ "type": "text",
521
+ "text": "Mind the gap",
522
+ "marks": [{ "type": "highlight", "attrs": { "tone": "accent" } }]
523
+ }
524
+ ]
525
+ }
526
+ ]
527
+ },
528
+ {
529
+ "type": "checklist",
530
+ "content": [
531
+ {
532
+ "type": "checklistItem",
533
+ "attrs": { "checked": true, "level": 1 },
534
+ "content": [{ "type": "text", "text": "Done" }]
535
+ }
536
+ ]
537
+ },
538
+ {
539
+ "type": "table",
540
+ "attrs": { "header": true },
541
+ "content": [
542
+ {
543
+ "type": "tableRow",
544
+ "content": [
545
+ {
546
+ "type": "tableCell",
547
+ "content": [{ "type": "text", "text": "Name" }]
548
+ }
549
+ ]
550
+ }
551
+ ]
552
+ },
553
+ { "type": "codeBlock", "attrs": { "language": "typescript" }, "text": "const n = 42;" }
554
+ ]
555
+ }
556
+ },
557
+ { "nodeId": "table", "port": "table", "value": { "columns": ["Column"], "rows": [["Cell"]] } }
558
+ ],
559
+ "media": [],
560
+ "expect": {
561
+ "htmlContains": [
562
+ "data-studio-block=\"section\"",
563
+ "data-studio-block=\"stack\"",
564
+ "data-studio-block=\"grid\"",
565
+ "data-studio-block=\"columns\"",
566
+ "data-studio-block=\"accordion\"",
567
+ "data-studio-block=\"accordion-item\"",
568
+ "data-studio-block=\"article\"",
569
+ "data-studio-block=\"attachment\"",
570
+ "data-studio-block=\"audio\"",
571
+ "data-studio-block=\"badge\"",
572
+ "data-studio-block=\"call-to-action\"",
573
+ "data-studio-block=\"callout\"",
574
+ "data-studio-block=\"card\"",
575
+ "data-studio-block=\"chart\"",
576
+ "data-studio-block=\"code\"",
577
+ "data-studio-block=\"content-collection\"",
578
+ "data-studio-block=\"content-reference\"",
579
+ "data-studio-block=\"countdown\"",
580
+ "data-studio-block=\"cover\"",
581
+ "data-studio-block=\"description-item\"",
582
+ "data-studio-block=\"description-list\"",
583
+ "data-studio-block=\"diagram\"",
584
+ "data-studio-block=\"dialog\"",
585
+ "data-studio-block=\"divider\"",
586
+ "data-studio-block=\"drawing\"",
587
+ "data-studio-block=\"embed\"",
588
+ "data-studio-block=\"gallery\"",
589
+ "data-studio-block=\"heading\"",
590
+ "data-studio-block=\"icon\"",
591
+ "data-studio-block=\"image\"",
592
+ "data-studio-block=\"label\"",
593
+ "data-studio-block=\"math\"",
594
+ "data-studio-block=\"money\"",
595
+ "data-studio-block=\"navigation\"",
596
+ "data-studio-block=\"navigation-item\"",
597
+ "data-studio-block=\"notice\"",
598
+ "data-studio-block=\"popover\"",
599
+ "data-studio-block=\"progress\"",
600
+ "data-studio-block=\"rich-text\"",
601
+ "data-studio-block=\"search\"",
602
+ "data-studio-block=\"spinner\"",
603
+ "data-studio-block=\"tab\"",
604
+ "data-studio-block=\"table\"",
605
+ "data-studio-block=\"tabs\"",
606
+ "data-studio-block=\"video\"",
607
+ "<article>",
608
+ "<dl><div data-studio-description-item data-studio-block=\"description-item\" data-studio-node=\"description-list-item\"",
609
+ "<hr",
610
+ "data-studio-icon=\"symbol\"",
611
+ "<nav data-studio-navigation=\"nav\"",
612
+ "<progress",
613
+ "<form role=\"search\"",
614
+ "data-studio-spinner",
615
+ "<table data-studio-table>",
616
+ "data-studio-rich-text-callout data-studio-tone=\"warning\"",
617
+ "<mark data-studio-tone=\"accent\">Mind the gap</mark>",
618
+ "data-studio-rich-text-checklist-item data-studio-checked=\"true\" data-studio-level=\"1\"",
619
+ "data-studio-level=\"1\" aria-level=\"2\"",
620
+ "data-studio-rich-text-checklist-level=\"1\"",
621
+ "<label><input type=\"checkbox\" disabled checked><span data-studio-rich-text-checklist-content>Done</span></label>",
622
+ "<table data-studio-rich-text-table><thead>",
623
+ "<pre><code data-language=\"typescript\">const n = 42;</code></pre>"
624
+ ],
625
+ "htmlExcludes": ["Unsupported Studio block", "<script", "onerror=", "javascript:"],
626
+ "cssContains": [
627
+ "data-studio-cover",
628
+ "data-studio-navigation",
629
+ "data-studio-spinner",
630
+ "prefers-reduced-motion"
631
+ ],
632
+ "enhancements": ["chart", "countdown", "diagram", "dialog", "math", "popover", "tabs"]
633
+ }
634
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "id": "renderer-web/escaped-heading",
3
+ "coverage": {
4
+ "blockTypes": ["studio.core/heading"],
5
+ "behaviors": [],
6
+ "presentation": [],
7
+ "security": ["escaped-text"]
8
+ },
9
+ "roots": [
10
+ {
11
+ "authoring": { "mode": "content" },
12
+ "bindings": {},
13
+ "id": "heading",
14
+ "properties": { "level": 2 },
15
+ "slots": {},
16
+ "type": "studio.core/heading",
17
+ "version": "1.0.0"
18
+ }
19
+ ],
20
+ "bindings": [{ "nodeId": "heading", "port": "text", "value": "<script>alert(1)</script>" }],
21
+ "media": [],
22
+ "expect": {
23
+ "htmlContains": ["&lt;script&gt;alert(1)&lt;/script&gt;"],
24
+ "htmlExcludes": ["<script"],
25
+ "cssContains": ["prefers-reduced-motion"],
26
+ "enhancements": []
27
+ }
28
+ }