@@ -2576,22 +2576,37 @@ const meta = { title: 'My App' };
25762576 {
25772577 name : "select with option containing element" ,
25782578 source : `<select><option><span>Lemon</span></option></select>` ,
2579+ transformOptions : transform.TransformOptions {
2580+ ExperimentalExactParsingThingy : true ,
2581+ },
25792582 },
25802583 {
25812584 name : "select with 2 options containing element" ,
25822585 source : `<select><option><span>Lemon</span></option><option><span>Lime</span></option></select>` ,
2586+ transformOptions : transform.TransformOptions {
2587+ ExperimentalExactParsingThingy : true ,
2588+ },
25832589 },
25842590 {
25852591 name : "select with option containing element with div sibling" ,
25862592 source : `<select><option><span>Lemon</span></option></select><div>Orange</div>` ,
2593+ transformOptions : transform.TransformOptions {
2594+ ExperimentalExactParsingThingy : true ,
2595+ },
25872596 },
25882597 {
25892598 name : "select with 2 options containing element with div sibling" ,
25902599 source : `<select><option><span>Lemon</span></option><option><span>Lime</span></option></select><div>Orange</div>` ,
2600+ transformOptions : transform.TransformOptions {
2601+ ExperimentalExactParsingThingy : true ,
2602+ },
25912603 },
25922604 {
25932605 name : "select with option containing element and button containing selected content" ,
25942606 source : `<select><button><selectedcontent></selectedcontent></button><option><span>Lemon</span></option></select>` ,
2607+ transformOptions : transform.TransformOptions {
2608+ ExperimentalExactParsingThingy : true ,
2609+ },
25952610 },
25962611 }
25972612 for _ , tt := range tests {
0 commit comments