dojo.subscribe("focusNode",function(node){console.log("focused on node "+(node?(node.id||node.tagName):"nothing"));});
});
</script>
<styletype="text/css">
@import"../../../dojo/resources/dojo.css";
@import"../css/dijitTests.css";
.inlineEdit{background-color:#CCC76A;}
/* some style rules on nodes just to test that style gets copied to the edit widget */
p{font-family:cursive;}
h3{font-family:helvetica;font-style:italic;}
</style>
</head>
<body>
<h1style="color: red; margin-bottom: 5em;">dijit.form.InlineEditBox is deprecated, use <ahref="../test_InlineEditBox.html">dijit.InlineEditBox</a> instead</h1>
<div>
The following tests each show a plain element followed by an editable element.
The plain element and editable element should look the same (font, font-size, block vs. inline) etc.,
and clicking an editable element should bring up an editor with the same attributes
(font, font-size, block vs. inline) as the editable element.
</div>
<hr>
<h2>H3</h2>
<div>
The following two h3 tags should be look the same. They are display:block, and the editor should take up the entire
<inputdojoType="dijit.form.TextBox"value="this is an editable h3 - I trigger the onChange callback on save">
</h3>
(after editable h3)
<hrstyle="width:100%;">
<h2>Inline-block Text (of 400px width)</h2>
<div>
The following section uses inline block text of 400px.
When clicking the editable text it should bring up an editor which is also 400px wide.
</div>
(before plain inline) <fieldsetclass="dijitInline"><divstyle="width: 400px;">hello ladies and gentlemen, now is the time for all good men to come to the aid of their country</div></fieldset> (after plain inline)