[css-text] 'hanging-punctuation' comments

  # ‘first’
  #
  # An opening bracket or quote at the start of the first formatted
  # line of an element hangs. This applies to all characters in the
  # Unicode categories Ps, Pf, Pi.

Again, per my comment on 'text-indent', I think "first formatted line"
was a mistake. We should go with "first line and a line after a forced
break", like "text-align-last" and "text-align: start end". I can check
with Web developers later.


  # 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'? Why about 'text-indent' and floats?


I am not entirely sure whether the following comment is theortical...

  # Depending on the line's alignment, this may (or may not) result in
  # the mark being placed outside the line box.

  #‘force-end’
  #
  # A stop or comma at the end of a line hangs.
  #
  #‘allow-end’
  #
  # A stop or comma at the end of a line hangs if it does not otherwise
  # fit prior to justification.

The description above seems to indicate that for 'hanging-punctuation:
force-end', "a stop or comma at the end of a line" doesn't need be
placed outside the line box, even in 'text-align: end'. I don't think
this is what 'force-end' tries to do.


Also, the current spec seems to ask 'force-end' to place the "stop or
comma" at the "last formatted line" outside the line box unconditionally
(is that true? I don't quite know because of the above issue), and that
doesn't seem like a good idea.



Cheers,
Kenny
-- 
Web Specialist, Opera Sphinx Game Force, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/

Received on Tuesday, 12 November 2013 01:07:24 UTC