layout/reftests/xul/css-flex-1.xul
author Daniel Holbert <dholbert@cs.stanford.edu>
Wed, 08 Feb 2017 23:08:43 -0800
changeset 341731 67bbef772796
permissions -rw-r--r--
Bug 1338053: Make nsFlexContainerFrame::MarkIntrinsicISizesDirty() also call its parent class's method. r=emilio MozReview-Commit-ID: 72oIlunLcVq

<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        class="reftest-wait"
        onload="tweak()">
  <style xmlns="http://www.w3.org/1999/xhtml">
    <![CDATA[
    panelview {
      border: 1px solid black;
      background: green;
      display: flex;
      height: 50px;
    }
    ]]>
  </style>
  <script>
    <![CDATA[
    function tweak() {
      var tweakMe = document.getElementById("tweakMe");
      tweakMe.style.width = "100px";
      document.documentElement.className = "";
    }
    ]]>
  </script>
  <hbox>
    <panelview id="tweakMe"></panelview>
  </hbox>
</window>