Gecko:Line Breaking: Difference between revisions

Jump to navigation Jump to search
→‎Breaking rules of Gecko 1.9: Adding the principles of this spec.
(→‎Breaking rules of Gecko 1.9: Adding the principles of this spec.)
Line 13: Line 13:


Gecko 1.9 uses JIS X 4051 based breaking rules. You can read actual detailed specification in [http://lxr.mozilla.org/seamonkey/source/intl/lwbrk/src/nsJISx4501LineBreaker.cpp#51 the comment of nsJISx4501LineBreaker.cpp].
Gecko 1.9 uses JIS X 4051 based breaking rules. You can read actual detailed specification in [http://lxr.mozilla.org/seamonkey/source/intl/lwbrk/src/nsJISx4501LineBreaker.cpp#51 the comment of nsJISx4501LineBreaker.cpp].
This behavior is designed with following principles:
* Don't break the Western text layout compatibility with Gecko 1.8.1 or earlier.
* URIs should be breakable for Japanese marketing.
* Hyphen should be breakable for Western language.
* Don't use risky changing/way. It was too late in this cycle.


== Generic rules for most languages ==
== Generic rules for most languages ==
87

edits

Navigation menu