harishd%netscape.com eeeb1c2290 97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
99282  - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.


git-svn-id: svn://10.0.0.236/trunk@105792 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:48:18 +00:00

29 lines
532 B
HTML

<HTML>
<HEAD>
<STYLE>
.abs {
position: absolute;
}
</STYLE>
<SCRIPT>
function showWidth(strName) {
dump(getComputedStyle(document.getElementById(strName),
null).getPropertyValue('width'));
}
</SCRIPT>
</HEAD>
<BODY>
<DIV CLASS="abs" ID="foo">
Single &lt;DIV&gt;
</DIV><BR><BR>
<INPUT TYPE="Button" VALUE="Test" onClick="showWidth('foo');">
<BR>
<DIV CLASS="abs">
<DIV CLASS="abs" ID="bar">
Nested &lt;DIV&gt;s
</DIV>
</DIV><BR><BR>
<INPUT TYPE="Button" VALUE="Test" onClick="showWidth('bar');">
</BODY>
</HTML>