layout/reftests/bugs/309914-1.xul
author Xianzhu Wang <wangxianzhu@chromium.org>
Tue, 05 Mar 2019 12:18:01 +0000
changeset 464575 4325ba7b38576495a78289c2a8f4dff391922e66
parent 48110 02d92df7381df28ba6e5b070cc2d67298f4614ea
permissions -rw-r--r--
Bug 1529059 [wpt PR 15420] - [BlinkGenPropertyTrees] Initiailize double_sided of synthetic effect, a=testonly Automatic update from web-platform-tests [BlinkGenPropertyTrees] Initiailize double_sided of synthetic effect Previously synthetic effects always had double_sided==false, causing the layer disappear when the backface was facing forward. Bug: 928190 Change-Id: I35534b40346d5c5918bc99c00a4ca6b4e3b68796 Reviewed-on: https://chromium-review.googlesource.com/c/1475815 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#632764} -- wpt-commits: a89467050deaf1dcbd9140a2f0670b1b85e518ee wpt-pr: 15420

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
	class="reftest-wait">

<hbox style="display: none">
  <bindings id="testBindings" xmlns="http://www.mozilla.org/xbl"
	    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

    <binding id="testBinding" >
      <content>
	<xul:label value="anon label"/>
	<children/>
      </content>
    </binding>
  </bindings>
</hbox>
<script>
<![CDATA[
var cont;

window.onload = function() {
  const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
  cont = document.getElementById("container");

  for(var i=0; i<2; i++) {
    var item = document.createElementNS(XUL_NS, "button");
    cont.appendChild(item);
    item.label = i;
  }

  document.documentElement.getBoundingClientRect();

  var item = cont.firstChild;
  //alert(item.label);
  cont.insertBefore(item.nextSibling, item);
  document.documentElement.removeAttribute("class");
}
]]>
</script>

<hbox id="container" style="-moz-binding: url('#testBinding');"/>

</window>