mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
22
layout/reftests/forms/input/text/bounds-1.html
Normal file
22
layout/reftests/forms/input/text/bounds-1.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for bug 806583</title>
|
||||
<style>
|
||||
body, div { background: blue }
|
||||
div { position: fixed; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<input id="input">
|
||||
<div id="cover"/>
|
||||
<script>
|
||||
var rect = document.getElementById("input").getBoundingClientRect();
|
||||
var cover = document.getElementById("cover");
|
||||
cover.style.left = rect.left + "px";
|
||||
cover.style.top = rect.top + "px";
|
||||
cover.style.width = rect.width + "px";
|
||||
cover.style.height = rect.height + "px";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue