1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
7 This test removes a run of inline content from a flexbox, which
8 should trigger the removal of its now-empty anonymous flex item.
10 <html xmlns=
"http://www.w3.org/1999/xhtml">
12 <link href=
"../resources/flexbox.css" rel=
"stylesheet" />
15 var removeMe = document.getElementsByClassName(
"flexbox")[
0].lastChild;
16 removeMe.parentNode.removeChild(removeMe);
17 document.documentElement.removeAttribute(
"class");
19 window.addEventListener(
"load", tweak, false);
25 background: lightgreen;
30 <div class=
"flexbox justify-content-space-around">text
<div>div
</div>