Replies: 1 comment 1 reply
|
@ed-gh I would suggest you take a look at #150 where the TTWG was struggling with this issue. You might want to inquire at |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I am struggling to understand the what the clauses at https://w3c.github.io/ttml2/index.html#style-attribute-bpd and similarly at https://w3c.github.io/ttml3/index.html#style-attribute-ipd, where the spec says:
(likewise for ipd, leaving out the quote for brevity here)
It's clear what this means in case of the given examples, where the spans are set to be displayed as inlineBlock, but I do not yet understand what it means if they were not inlineBlock(s). Suppose the span has a backgroundColor assigned. What does the above quoted definition mean for the (backgroundColor-filled) rectangle that is to be painted (by a renderer)? If the assigned bpd/ipd is larger (or smaller) than the respective (computed/resulting) content rectangle's dimension, should the background-area grow (or shrink) and overlap with the adjacent content rectangle (if the assigned bpd is larger than the content rectangle's bpd)?
Would it be possible to provide an illustration?
With kind regards,
Erik
All reactions