lineHeight="normal"

Hi,

I'm studying tts:lineHight attribute and have one comment.
 (I checked issue58.)

Current text defines:
If the value of this attribute is normal, then the initial value of the style property must be considered to be the same as the largest font size that applies to any descendant element.
I'd like to confirm that
 whether "any descendant element" includes the affected element itself
or not.
My interpretatin is the affected element itself is not included.

Examples are...
 <p region="r1" tts:lineHeight="normal" tts:fontSize="64px" begin="0s"
end ="1s">
  this<br/>
  span<tts:fontSize="16px">
    is<br/>
  span<tts:fontSize="14px">
    example
</p>
This case, lineHeight is 64px.
 text node "this" and br elem will be enclosed by anonymous span and its
fontSize is 64px.
So, max font size of descendants is 64px.

On the other hand,
 <p region="r1" tts:lineHeight="normal" tts:fontSize="64px" begin="0s"
end ="1s">
  span<tts:fontSize="16px">
    this is<br/>
  span<tts:fontSize="14px">
    example
</p>
This case, lineHeight is 16px.

Is above understanding correct?
 If not, suggest to change the text to as like...
"to be the same as the largest font size that applies to any descendant
element (includes the affected element itself)."

best regards,
Uchimura

-- 
Consumer Products & Services Group
Home Entertainment Business Group 
Home Entertainment Development Div.
Section1 Dept.7 
Sony Corp.(Japan)
Kouichi Uchimura <Kouichi.Uchimura@jp.sony.com>

Received on Thursday, 6 September 2012 07:41:44 UTC