[Webkit-unassigned] [Bug 54598] Trailing tabs in a textarea become unselectable under certain conditions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 7 19:13:07 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=54598





--- Comment #18 from Ryosuke Niwa <rniwa at webkit.org>  2011-06-07 19:13:07 PST ---
16.6.1:
2. If 'white-space' is set to 'pre' or 'pre-wrap', any sequence of spaces (U+0020) unbroken by an element boundary is treated as a sequence of non-breaking spaces. However, for 'pre-wrap', a line breaking opportunity exists at the end of the sequence.

...
1. If a space (U+0020) at the beginning of a line has 'white-space' set to 'normal', 'nowrap', or 'pre-line', it is removed.
...
4. If spaces (U+0020) or tabs (U+0009) at the end of a line have 'white-space' set to 'pre-wrap', UAs may visually collapse them.

It's the combination of these 3 paragraphs that get us into trouble.  If we never collapsed tabs or spaces at the end of a line with 'white-space' set to 'pre-wrap', this bug will go away.

-- 
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