layout/reftests/flexbox/flexbox-inlinecontent-horiz-3c.xhtml

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 <?xml version="1.0" encoding="UTF-8"?>
michael@0 2 <!--
michael@0 3 Any copyright is dedicated to the Public Domain.
michael@0 4 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 5 -->
michael@0 6 <!--
michael@0 7 This test inserts a some inline content in a flex container, just after a
michael@0 8 stretch of existing inline content. The new content should be incorporated
michael@0 9 into the same anonymous flex item as the existing content.
michael@0 10 -->
michael@0 11 <html xmlns="http://www.w3.org/1999/xhtml"
michael@0 12 class="reftest-wait">
michael@0 13 <head>
michael@0 14 <link rel="stylesheet" type="text/css" href="ahem.css" />
michael@0 15 <script>
michael@0 16 function tweak() {
michael@0 17 var newInlineContent = document.createTextNode("mno pqr stu");
michael@0 18
michael@0 19 var flexbox = document.getElementById("flexbox");
michael@0 20 flexbox.insertBefore(newInlineContent, null);
michael@0 21
michael@0 22 document.documentElement.removeAttribute("class");
michael@0 23 }
michael@0 24
michael@0 25 window.addEventListener("MozReftestInvalidate", tweak, false);
michael@0 26 </script>
michael@0 27 <style>
michael@0 28 div#flexbox {
michael@0 29 width: 100px;
michael@0 30 display: flex;
michael@0 31 font: 10px Ahem;
michael@0 32 }
michael@0 33 </style>
michael@0 34 </head>
michael@0 35 <body>
michael@0 36 <div id="flexbox">abc def ghi jkl </div>
michael@0 37 </body>
michael@0 38 </html>

mercurial