Stretching of brackets

I think, the following proposal is not feature of browser,
but maybe considered as like tags of make-up.

If transition to new line is at once after an opening bracket,
let then this bracket (and bracket, which is pair for it)
should be stretched to size of contents.

Example 1.
[
<table>
<tr>
<td>a</td>
<td>b</td>
</tr>
<tr>
<td>c</td>
<td>d</td>
</tr>
</table>]

will be shown as

+-   -+
| a b |
| c d |
+-   -+

Example 2.
(
<table>
<tr>
<td>a</td>
<td>b</td>
</tr>
<tr>
<td>c</td>
<td>d</td>
</tr>
</table>
)

will be shown as

 /   \
| a b |
| c d |
 \   /

Example 3.
{

<table>
<tr>
<td>a</td>
<td>b</td>
</tr>
<tr>
<td>c</td>
<td>d</td>
</tr>
</table>

}

will be shown as

 /     \
 | a b |
/       \
\       /
 | c d |
 \     /


P.S.
1. It's not important,
are there transition to new line at once before closing bracket
2. Tag TABLE is not important,
any tag can be instead of them.
 


Dmitry Turin
http://html60.by.ru
http://sql40.by.ru
http://computer20.by.ru

Received on Thursday, 3 May 2007 05:38:58 UTC