WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
13159
Form Feed should be collapsed rather than turned into zero-width
https://bugs.webkit.org/show_bug.cgi?id=13159
Summary
Form Feed should be collapsed rather than turned into zero-width
Jungshik Shin
Reported
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
Attachments
Add attachment
proposed patch, testcase, etc.
Jungshik Shin
Comment 1
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.
Eric Seidel (no email)
Comment 2
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.
Christopher Yeleighton
Comment 3
2012-01-29 08:41:16 PST
Also reported as Bug KDE 292103.
Robert Hogan
Comment 4
2013-03-02 13:10:15 PST
jshin, is there anything to do here still?
Robert Hogan
Comment 5
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.
Christopher Yeleighton
Comment 6
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.
Robert Hogan
Comment 7
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug