Re: [css-text] 'hanging-punctuation' and padding/borders/margins (was 'hanging-punctuation' comments

On 07/26/2014 04:36 PM, Koji Ishii wrote:
> # Changed the subject to what we’re discussing.
>
> On Jul 24, 2014, at 1:29, MURAKAMI Shinyu <murakami@antenna.co.jp> wrote:
>> fantasai <fantasai.lists@inkedblade.net> wrote on 2014/07/21 22:14:05
>>> On 11/11/2013 05:23 PM, Kang-Hao (Kenny) Lu wrote:
>>>> (2013/11/12 9:07), Kang-Hao (Kenny) Lu wrote:
>>>>>    # Non-zero start and end borders/padding between a hangeable mark and
>>>>>    # the edge of the line prevent the mark from hanging.
>>>>>
>>>>> Why doesn't this include 'margin'?
>>>
>>> Good point. I'm not sure why it should exclude margins. I've added margins
>>> to that sentence.
>>>
>>> Murakami-san, could you please verify if this is correct? :)
>>
>> I think excluding margins was correct.
>> Border/padding are visible and hanging marks with them will cause
>> line edges visually uneven, but the margin is different.
>
> I agree with Murakami-san.
>
> Even more, I started to wonder, maybe this could harm more than it helps.
> We might have discussed this before, but could you remind me what were
> the use cases of this definition?
>
> One case that pops up in my mind where this definition could harm is:
>    key { border:thin black solid; }
>    <p>Press <key>X</key>.</p>
> I suppose the period should hang.

The period does hang. Why would it not?

In this example, the period would not hang, because there is a border
between it and the edge:
   <p>Press <key>B.S.</key></p>

~fantasai

Received on Friday, 1 August 2014 01:12:57 UTC