move more textarea styles to CSS

This commit is contained in:
Fabian Jakobs 2011-01-27 18:24:36 +01:00
commit 82b14fc439
2 changed files with 5 additions and 7 deletions

View file

@ -74,6 +74,11 @@
}
.ace_editor textarea {
position: "absolute";
z-index: -1;
opacity: 0;
width: 10px;
height: 30px;
border: none;
resize: none;
outline: none;

View file

@ -43,13 +43,6 @@ var useragent = require("pilot/useragent");
var TextInput = function(parentNode, host) {
var text = document.createElement("textarea");
var style = text.style;
style.position = "absolute";
style.zIndex = -1;
style.opacity = 0;
style.border = "none";
style.width = "10px";
style.height = "30px";
parentNode.appendChild(text);
var PLACEHOLDER = String.fromCharCode(0);