W3C home > Mailing lists > Public > www-svg@w3.org > November 2002

Re: 1.2 Text Wrapping ...section 1.4

From: Robert Diblasi <rdiblas@wpo.it.luc.edu>
Date: Fri, 22 Nov 2002 12:56:17 -0600
Message-Id: <sdde2979.039@wpo.it.luc.edu>
To: <www-svg@w3.org>

Hello,

<snip>
We [W3 working group] explicitly invite comments on this specification
<snip>

OK

I will break my comments up in to sections....

1.4 The FlowDiv element
The flowDiv element specifies a block of text to be inserted into
the text layout, and marks it as a division of related text. 
The children of the flowDiv element will be rendered as a block: offset 
before and after from their parent's siblings. 

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" 
         xmlns:xlink="http://www.w3.org/1999/xlink" 
         version="1.2">
  <flowText>
       <flowLayout>
           <flowRegion x="0" y="0" width="100" height="100"/>
       </flowLayout>
  </flowText>
  <flowDiv/>
</svg>

or 

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" 
         xmlns:xlink="http://www.w3.org/1999/xlink" 
         version="1.2">
   <defs>
       <circle id="textCircle"cx="50" cy="100" r="20" fill="red" stroke="blue" stroke-width="5" />
   <defs>
  <flowText>
       <flowLayout>
           <flowRegion xlink:href="#textCircle"/>
      </flowLayout>
  </flowText>
</svg>

I like this element...I like the idea of using the concept of <div> element of from HTML

<snip>
The DIV and SPAN elements, in conjunction with the id and class attributes,
offer a generic mechanism for adding structure to documents. These elements define content
to be inline (SPAN) or block-level (DIV) but impose no other presentational idioms on the 
content. Thus, authors may use these elements in conjunction with style sheets, the lang
attribute, etc., to tailor HTML to their own needs and tastes.
</snip>

http://www.w3.org/TR/REC-html40/struct/global.html#edef-DIV

I also like the fact that <flowLayout> (presentation) and <flowDiv> (content)..nice work!
I can think about text and style <flowDiv> 
I can think about graphic object (text or shape) or a rectangle <flowLayout>


We all learn by sharing what we know
Robert A. DiBlasi
http://www.svgnotebook.com 
rdiblasi@svgnotebook.com 
SVG User Group: Chicago IL. Chapter member
Received on Friday, 22 November 2002 13:56:35 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:23 GMT