gecko-dev/layout/reftests/flexbox/flexbox-dyn-insertAroundDiv...

41 строка
1.7 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!--
This reference case is like its textcase, but with the testcase's dynamic
modifications already performed.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
body { font-size: 10px; }
<!-- to make inserted span elements stand out -->
span.inserted { background: teal; }
div.flexbox {
border: 1px dashed blue;
width: 300px;
display: flex;
justify-content: space-around;
margin-bottom: 1px;
white-space: pre;
}
</style>
</head>
<body>
<div class="flexbox" id="f0"><span class="inserted">[NewSpan]</span><div>[OldText]</div></div>
<div class="flexbox" id="f1"><div>[OldText]</div><span class="inserted">[NewSpan]</span></div>
<div class="flexbox" id="f2"><span class="inserted">[NewSpan]</span> <div>[OldText]</div></div>
<div class="flexbox" id="f3"> <span class="inserted">[NewSpan]</span><div>[OldText]</div></div>
<div class="flexbox" id="f4"><div>[OldText]</div><span class="inserted">[NewSpan]</span> </div>
<div class="flexbox" id="f5"><div>[OldText]</div> <span class="inserted">[NewSpan]</span></div>
<div class="flexbox" id="f6"><span class="inserted">[NewSpan]</span>[NewText]<div>[OldText]</div></div>
<div class="flexbox" id="f7">[NewText]<span class="inserted">[NewSpan]</span><div>[OldText]</div></div>
<div class="flexbox" id="f8"><div>[OldText]</div><span class="inserted">[NewSpan]</span>[NewText]</div>
<div class="flexbox" id="f9"><div>[OldText]</div>[NewText]<span class="inserted">[NewSpan]</span></div>
</body>
</html>