[Webkit-unassigned] [Bug 89235] New: CSS3: line-break property support
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 15 11:39:19 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89235
Summary: CSS3: line-break property support
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jshin at chromium.org
http://dev.w3.org/csswg/css3-text/#line-break has introduced the following values for line-break.
‘auto’
The UA determines the set of line-breaking restrictions to use, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines.
‘loose’
Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.
‘normal’
Breaks text using the most common set of line-breaking rules.
‘strict’
Breaks text using the most stringent set of line-breaking rules.
Depending on the value specified, line breaking behavior has to be different.
For ports that use ICU, one possibility is to create separate line breaking iterators instances with different tailorings for each value.
The other possibility (ports that can easily change ICU itself such as Chromium) is to add tailored line breaking rule files to ICU ( line_ja_strict for strict mode in Japanese, line_ja_loose for loose mode in Japanese, etc) and pick one by changing the locale name.
See also http://unicode.org/cldr/trac/ticket/4931 (CLDR feature request to parameterize line breaking rules).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list