W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Stretching of brackets

From: Dmitry Turin <html60@narod.ru>
Date: Thu, 3 May 2007 08:25:32 +0300
Message-ID: <1291567390.20070503082532@narod.ru>
To: public-html@w3.org

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:40:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT