W3C home > Mailing lists > Public > www-style@w3.org > July 1995

Re: Border Styles

From: Benjamin C. W. Sittler <bsittler@prism.nmt.edu>
Date: Tue, 11 Jul 1995 10:12:56 -0600
Message-Id: <199507111612.KAA09520@gray.nmt.edu>
To: bert@let.rug.nl
Cc: www-style@www10.w3.org
I'm not sure I completely understand... perhaps with the aid of the
following diagram this can be clarified:

The test, for example, is: 

<P>
  This is a paragraph with an <EM>emphasized</EM> sentence. 
  <EM>This <Q>block<Q> of text is the emphasized sentence, 
  isn't it?</EM> Are you suggesting <EM>rendering</EM>
  rules for <DFN>tangent</DFN> (touching) borders? 
</P>

With the following stylesheet:

    EM: border.style = single
   DFN: border.bottom.style = double
       # a possible shorthand for border.bottom.style is underline.style

Possible rendering (1)

                                 ....................................
      This is a paragraph with an:emphasized section. This ``block'':
.................................:.......................::::::::::::
:is the emphasized sentence, isn't it?:Are you suggesting:rendering:
:.....................................:                  :.........:
 rules for tangent (touching) borders?
           :::::::

Possible rendering (2)

                                 ....................................
      This is a paragraph with an:emphasized section. This ``block'':
.................................:::::::.................::::::::::::
:is the emphasized sentence, isn't it?:Are you suggesting:rendering:
:.....................................:                  :.........:
 rules for tangent (touching) borders?
           :::::::

Possible rendering (3)
                                 ....................................
      This is a paragraph with an:emphasized section. This ``block'':
.................................:    ...................::::::::::::
:is the emphasized sentence, isn't it?:Are you suggesting:rendering:
:.....................................:                  :.........:
 rules for tangent (touching) borders?
           :::::::

I'm not sure from your post if this is what you mean... if it is, I propose
that we add a few border.merge attributes that define the rendering
of the top and bottom borders when they intersect in multiline
character-level bordered regions:

border.merge = normal | seperate | join

where normal is (1), seperate is (2), and join is (3). Note that the word 
"rendering," although it is in the same border style as "The ``block'',"
is always seperated, since it is not part of the same EMphasized region.
Received on Tuesday, 11 July 1995 12:15:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:42 GMT