Bug 13159 - Form Feed should be collapsed rather than turned into zero-width
Summary: Form Feed should be collapsed rather than turned into zero-width
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: https://bugzilla.mozilla.org/attachme...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 10:13 PDT by Jungshik Shin
Modified: 2013-09-01 03:00 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jungshik Shin 2007-03-22 10:13:13 PDT
Currently, 'Form Feed' (U+000C) is turned to zero-width glyph. However, they should be collapsed like space. See

http://www.w3.org/TR/html401/struct/text.html#didx-white_space-1

Gecko currently renders them as whitespace *without* collapsing them. 

https://bugzilla.mozilla.org/show_bug.cgi?id=373268
Comment 1 Jungshik Shin 2007-03-22 11:58:12 PDT
Related to this bug is bug 13136.

In the page given at the URL, there should be just a single space between 'XXX' and 'XXX'. Currently, there's no space at all because all control characters are turned to a zero-width glyph.

Comment 2 Eric Seidel (no email) 2008-01-11 15:19:43 PST
It looks like Mozilla closed their bug as "invalid" citing the CSS spec saying that these should be rendered as spaces but not collapsed.

To best understand this bug, we'll need a test case which demonstrates how we behave differently from Gecko or IE.
Comment 3 Christopher Yeleighton 2012-01-29 08:41:16 PST
Also reported as Bug KDE 292103.
Comment 4 Robert Hogan 2013-03-02 13:10:15 PST
jshin, is there anything to do here still?
Comment 5 Robert Hogan 2013-07-27 02:14:46 PDT
http://www.w3.org/TR/css3-text/#white-space-rules
http://www.w3.org/TR/CSS21/text.html#white-space-prop

Neither of the specs for whitespace processing treat form feeds as in scope. So IE and Opera are wrong and there's nothing to do here.
Comment 6 Christopher Yeleighton 2013-08-31 10:47:59 PDT
(In reply to comment #5)
> http://www.w3.org/TR/css3-text/#white-space-rules
> http://www.w3.org/TR/CSS21/text.html#white-space-prop
> 
> Neither of the specs for whitespace processing treat form feeds as in scope. So IE and Opera are wrong and there's nothing to do here.

Quoting <URL: http://www.w3.org/TR/CSS21/text.html#white-space-prop >:

UAs must recognize line feeds (U+000A) as newline characters. UAs may additionally treat other forced break characters as newline characters per UAX14. 

Please reopen.
Comment 7 Robert Hogan 2013-09-01 03:00:54 PDT
(In reply to comment #6)
> (In reply to comment #5)
> > http://www.w3.org/TR/css3-text/#white-space-rules
> > http://www.w3.org/TR/CSS21/text.html#white-space-prop
> > 
> > Neither of the specs for whitespace processing treat form feeds as in scope. So IE and Opera are wrong and there's nothing to do here.
> 
> Quoting <URL: http://www.w3.org/TR/CSS21/text.html#white-space-prop >:
> 
> UAs must recognize line feeds (U+000A) as newline characters. UAs may additionally treat other forced break characters as newline characters per UAX14. 
> 
> Please reopen.

Please raise this with www-style so we can resolve this properly.