Здравствуйте, c-smile, Вы писали:
CS>Я обновил http://terrainformatica.com/sciter/sciter-dll-pdb.zip , попробуй.
Неа, всё по-прежнему. Я вот набросал привер, который падает, особенно не причёсывал:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
#tbl
{
width:400px; height:400px;
border:solid gray 1px;
background-color:window;
border-spacing:0;
flow: table-fixed;
}
#tbl tr[boo]
{
background:blue;
color:red;
}
#wt[boo] > table > tbody > tr[boo]
{
visibility:collapse;
}
#tbl > tbody > tr > td
{
height: 1.4em;
white-space:nowrap;
overflow-x:hidden; text-overflow:ellipsis;
border-right: 1px solid threedlight;
padding-left:3px;
font-size: 10pt;
}
#tbl > tbody
{
width:*;
height:*;
overflow:hidden;
overflow-y:scroll;
border-spacing:0px;
font-family:'Arial';
font-size:7pt;
}
#tbl > thead
{
border-spacing:0;
behavior:column-resizer;
}
#tbl > thead > tr > th
{
width:*;
min-width:1em;
font:system;
line-height: 1.6em;
white-space:nowrap; overflow-x:hidden; text-overflow:ellipsis;
background: url(theme:column-header-normal) stretch;
text-align:left;
padding-left:3px;
}
:root > table > tbody > tr > td
{
height: 1.4em;
white-space:nowrap;
overflow-x:hidden; text-overflow:ellipsis;
border-right: 1px solid threedlight;
padding-left:3px;
font-size: 10pt;
}
:root > table > tbody > tr
{
border-bottom:1px solid threedface;
}
</style>
</head>
<script type=text/tiscript>
self#test2.onClick = function()
{
self#wt.@["boo"] = true;
}
self#test.onClick = function()
{
var table = self#tbl;
var ss = Stream.openString()
for(var i in 2000)
{
var boo = (i % 2) ? "boo" : "";
ss.$(<tr {boo}><td>Some data 0</td><td>Some data 1</td><td>Some data 2</td></tr>);
}
table.$(tbody).insert(ss.toString());
return;
}
</script>
<body #body>
<frameset>
<widget #wt>
<table fixedrows=1 #tbl>
<thead>
<tr><th>First</th><th>Second</th><th>Third</th></tr>
</thead>
<tbody></tbody>
</table>
</widget>
</frameset>
<button #test>Fill</button>
<button #test2>Hide</button>
</body>
</html>