You're right. Indeed both situations below are handled by the standard, thanks
to border conditionality and is-first/is-last traits.
Thanks for the pointer!
Andreas L Delmelle a écrit :
On Sep 2, 2005, at 17:44, Vincent Hennebert wrote:
This is a | chunk of text |
| with border | blah blah
What is more intuitive and could be expected by a user is the
This is a | chunk of text
with border | blah blah
Hmm... I remember reading something about this --wait a minute... Yep!
See Rec 4.3.1 Space resolution rules
all the way down
"The border or padding at the start-edge or end-edge of an inline-area I
may be specified as conditional. If so, then it is set to zero if its
associated edge is a leading edge in a line-area, and the is-first trait
of I is false, or if its associated edge is a trailing edge in a
line-area, and the is-last trait of I is false."
(see also: 7.7.9 border-before-width .. XSL modifications to the CSS
By default, the first would be applicable. If the user explicitly specifies
border-start-width.conditional="discard", the result would have to be
No extension needed.