<!DOCTYPE html>
<meta charset="utf-8">
<title>Element.prototype.clientTop</title>
<link rel=help href="https://drafts.csswg.org/cssom-view/#dom-element-clienttop">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

<script>
"use strict";

test(() => {

  const el = document.createElement("p");
  assert_equals(el.clientTop, 0);

}, "clientTop should return 0 for an element with no associated CSS layout box");
</script>
