Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="UTF-8"?>
<!--
Any copyright is dedicated to the Public Domain.
-->
<!--
This reference case is like its textcase, but with the testcase's dynamic
modifications already performed.
-->
<head>
<style>
body {
font-size: 10px;
}
span.inserted {
background: teal; /* To make inserted span elements stand out. */
}
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>[OldText]</div>
<div class="flexbox" id="f1">[OldText]<span class="inserted">[NewSpan]</span></div>
<div class="flexbox" id="f2"><span class="inserted">[NewSpan]</span> [OldText]</div>
<div class="flexbox" id="f3"> <span class="inserted">[NewSpan]</span>[OldText]</div>
<div class="flexbox" id="f4">[OldText]<span class="inserted">[NewSpan]</span> </div>
<div class="flexbox" id="f5">[OldText] <span class="inserted">[NewSpan]</span></div>
<div class="flexbox" id="f6"><span class="inserted">[NewSpan]</span>[NewText][OldText]</div>
<div class="flexbox" id="f7">[NewText]<span class="inserted">[NewSpan]</span>[OldText]</div>
<div class="flexbox" id="f8">[OldText]<span class="inserted">[NewSpan]</span>[NewText]</div>
<div class="flexbox" id="f9">[OldText][NewText]<span class="inserted">[NewSpan]</span></div>
</body>
</html>