mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-14 11:17:31 +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
10
layout/reftests/position-dynamic-changes/handleprop.js
Normal file
10
layout/reftests/position-dynamic-changes/handleprop.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// Add the correct border/margin/padding style
|
||||
if (window.location.search.length > 0) {
|
||||
var params = window.location.search.substr(1).split("_");
|
||||
if (params[0] == "border") {
|
||||
params[0] = "border-width";
|
||||
}
|
||||
document.write("<style>");
|
||||
document.write((params[1] == "parent") ? "#parent" : "#child");
|
||||
document.write("{ " + params[0] + ": 1px 2px 3px 4px; }</style>");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue