[Webkit-unassigned] [Bug 38226] Full width spaces are collapsed in option element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 10 21:45:28 PDT 2011


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


just2contribute at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |just2contribute at gmail.com




--- Comment #3 from just2contribute at gmail.com  2011-10-10 21:45:27 PST ---
Can we directly modify the WTF::String function;


static inline bool isSpaceOrNewline(UChar c) 

like; this is checking whether it is an ASCII space or a Unicode space (using the ICU function for directionality information) in the conditional statement.

Hence can we just have a check for this full-width charatcter before this conditional statement as follows;

if (c == 0x3000)
return false;

which will basically return false from there itself, interpreting it as non-white space character, which is the way I feel bcoz U+3000 (full-width space) should not be considered for any whitespace/newline procerssing as per its properties I guess. 

Does this impact any thing else, bcoz I could see this function being used in a number of places, especially in rendering, loader etc?

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