wpt / css / css-viewport / zoom / explicit-inherit / top.html

Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-viewport/zoom/explicit-inherit/top.html

<!DOCTYPE html>
<title>top:inherit applies zoom</title>
<link rel="help" href="https://drafts.csswg.org/css-viewport/">
<link rel="match" href="../green-square-100px.html">
<style>
  div > div {
    background-color: green;
    width: 50px;
    height: 50px;
  }
</style>
<div style="contain:layout; top:50px; translate:0 -100px">
  <div style="zoom:2; position:absolute; top:inherit;"></div>
</div>

/css/css-viewport/zoom/green-square-100px.html

<!doctype html>
<meta charset="utf-8">
<div style="width: 100px; height: 100px; background-color: green"></div>