W3C home > Mailing lists > Public > www-style@w3.org > August 2014

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 31 Jul 2014 22:55:03 +0100
Message-ID: <53DABB37.2060904@inkedblade.net>
To: www-style@w3.org
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

This archive was generated by hypermail 2.3.1 : Friday, 1 August 2014 01:12:58 UTC