layout/reftests/bugs/232990-1a.xhtml
author Xianzhu Wang <wangxianzhu@chromium.org>
Tue, 05 Mar 2019 12:18:01 +0000
changeset 464575 4325ba7b38576495a78289c2a8f4dff391922e66
parent 24404 0d5743c16ba8ff65afa71c1e4c7b0ce54fee11ef
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"?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <style type="text/css">
<![CDATA[
@namespace pp url("prettyprint");
pp|expander-box,
pp|pre-content {
  display: block;
}

pp|expander-box[collapsed] > pp|float,
pp|expander-box[collapsed] > pp|pre-content {
  display: inline;
  float: none;
}

pp|float {
  float: left;
}
    ]]></style>
    <script>
<![CDATA[
var target;
function onLoad() {
var res = document.evaluate("descendant::pp:expander-box",
                    document.documentElement,
                    function(aPref){return "prettyprint";},
                    0, null);
target = res.iterateNext();
toggle();
}

function toggle() {
  target.setAttribute("collapsed", "collapsed");
}
    ]]></script>
  </head>

  <body onload="onLoad()">
    <div>
<pp:content xmlns:pp="prettyprint">
  <pp:expander-box><pp:float>-</pp:float>
    <pp:pre-content>pre</pp:pre-content>
  </pp:expander-box>
</pp:content>
    </div>
  </body>
</html>