https://bugzilla.mozilla.org/show_bug.cgi?id=1374994
is this bug resolved or not?. But status is Resolved wontFix-- what it means
I am not understanding, I was tested code not seen any difference. Here is code
<input type="button" onclick="addDivBlock()" value="Add Div-Block"> <input type="button" onclick="addDivInline()" value="Add Div-Inline"> <input type="button" onclick="addDiv()" value="Add Div"> <script> function addDivInline() { var div = document.createElement('div'); //,{id:'divNew'} div.innerHTML="Div added from javascript" div.style.cssText="font-weight: bold;display:inline;border:dotted red" document.body.appendChild(div); } function addDivBlock() { var div = document.createElement('div'); //,{id:'divNew'} div.innerHTML="Div added from javascript" div.style.cssText="font-weight: bold;display:Block;border:dotted red" document.body.appendChild(div); } function addDiv() { var div = document.createElement('div'); //,{id:'divNew'} div.innerHTML="Div added from javascript - without display property" div.style.cssText="font-weight: bold;border:dotted red" document.body.appendChild(div); } </script>
すべての返信 (1)
Do you have layout.css.servo.enabled = true in about:config?