Gecko:Line Breaking: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 1: Line 1:
= Line Breaking =
= Line Breaking Resources =
 
* [https://bugzilla.mozilla.org/show_bug.cgi?id=206152 Line-breaking meta bug]
* JIS X 4051 (in Japanese; fantasai can scan pages as requested)
* [http://www.unicode.org/reports/tr14/ UAX 14], but see also [http://www.unicode.org/reports/tr14/tr14-20.html proposed update]
* Masayuki's [https://bugzilla.mozilla.org/attachment.cgi?id=271380 browser chart 1] and [http://lxr.mozilla.org/seamonkey/source/intl/lwbrk/tools/spec_table.html browser chart 2]
* [http://www.cs.tut.fi/~jkorpela/unicode/linebr.html Jukka Korpela's comments] on UAX 14
* [http://www.w3.org/TR/css3-text/#line-breaking CSS3 Text]
 
= Breaking by Example =


[https://bugzilla.mozilla.org/show_bug.cgi?id=255990 Bug 255990] introduced a lot of major changes to our line breaking behavior, some of which we don't really want. We should do some planning and investigation to see what we can do to allow those new breaks where we want them, and disallow them where we don't. First, let's get a clear idea of what breaks we want and what breaks we don't want. Feel free to add to the following three lists.
[https://bugzilla.mozilla.org/show_bug.cgi?id=255990 Bug 255990] introduced a lot of major changes to our line breaking behavior, some of which we don't really want. We should do some planning and investigation to see what we can do to allow those new breaks where we want them, and disallow them where we don't. First, let's get a clear idea of what breaks we want and what breaks we don't want. Feel free to add to the following three lists.

Revision as of 02:23, 5 August 2007

Line Breaking Resources

Breaking by Example

Bug 255990 introduced a lot of major changes to our line breaking behavior, some of which we don't really want. We should do some planning and investigation to see what we can do to allow those new breaks where we want them, and disallow them where we don't. First, let's get a clear idea of what breaks we want and what breaks we don't want. Feel free to add to the following three lists.

Unless otherwise specified, assume each listed string is surrounded by spaces.

Breaks We Don't Want

List breaks we don't want here.

  • c/o
  • /etc
  • s/he
  • 2/23/98
  • cm/sec
  • --
  • ---
  • index.html
  • colo(u)r
  • guest(s)
  • "foo..."
  • \3,000 (BACKSLASH is used as yen sign and won sign.)
  • \n
  • \x0A
  • 100%
  •  
  • AT&T
  • 1-5
  • 2007-08-02
  • -ed
  • Init()
  • sin(x)
  • smileys: :) ;) :-) :P :D :-D :^) :-/ =^_^= \^_^/ ^-^ ^^;; o_O -__-;;
  • !?
  • ?!
  • ???
  • !!!
  • $20
  • 20$
  • US$20
  • 20$US
  • 100°
  • °C

Breaks We Want

List breaks we want here.

  • somereallylongword/someotherreallylongword
  • %82%B1%82%EA%82%CD%93%FA%96%8C%EA%82%C5%82%B7
  • foo=bar&foo=bar&foo=bar&foo=bar
  • foo=bar;foo=bar;foo=bar;foo=bar
  • c:\foo\bar\foo\bar\foo\bar
  • \\foo\bar\foo\bar\foo\bar
  • 2-bromo-4,4-dichlorophenol
  • never-ending
  • kites—but
  • kites--but

Breaks We're Not Sure About

List breaks we're not sure about here.