--NOT PART OF DEFAULT BUILD--

XMLterm changes only. Added FlushPendingNotifications call to scrolling routine to improve scrolling behaviour. Fixed typo in string template changes. Added (commented out) change to xmlterm.html to test PNG alpha "image melding" with the command line!
This commit is contained in:
svn%xmlterm.org 2000-05-26 03:54:47 +00:00
parent af6a49d16e
commit e30dbd6a29
3 changed files with 8 additions and 3 deletions

View File

@ -2884,6 +2884,8 @@ NS_IMETHODIMP mozXMLTermSession::ScrollToBottomLeft(void)
if (NS_FAILED(result) || !domWindow)
return NS_ERROR_FAILURE;
mPresShell->FlushPendingNotifications();
// Scroll to bottom left of screen
domWindow->ScrollBy(-99999,99999);
@ -3950,7 +3952,7 @@ NS_IMETHODIMP mozXMLTermSession::SetEventAttributes(const nsString& name,
int j;
for (j=0; j<SESSION_EVENT_TYPES; j++) {
nsAutoString attName; attName.AssignWithConversion("on");
attName.AssignWithConversion(sessionEventNames[j]);
attName.AppendWithConversion(sessionEventNames[j]);
nsAutoString attValue; attValue.AssignWithConversion("return HandleEvent(event, '");
attValue.AppendWithConversion(sessionEventNames[j]);

View File

@ -1,4 +1,3 @@
xmlterm.css
xmltpage.css
ficon.gif
wheel.gif

View File

@ -13,6 +13,10 @@
<body onload="return LoadHandler();">
<!-- PNG alpha meld demo
<img src="file:///home/svn/ice.png" style="position:absolute; top:45px; right: 0px;">
-->
<form name="xmltform1">
<input type="button" value="New XMLTerm"
@ -87,7 +91,7 @@
onClick="return SetPromptValue();">
<span class="formhead">Value:</span>
<input size=45 type="text" id="inputvalue"
value="<img src='http:/dmoz.org/img/lizard2a.gif'>"
value="<img src='http://dmoz.org/img/lizard2a.gif'>"
onFocus="return FormFocus();" onBlur="return FormBlur();">
</form>
<hr>