[Webkit-unassigned] [Bug 42042] An empty value for xml:lang isn't considered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 15 23:49:21 PDT 2010


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


mitz at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #5 from mitz at webkit.org  2010-07-15 23:49:21 PST ---
(In reply to comment #4)
> Hi Mitz,
> 
> (In reply to comment #3)
> > (From update of attachment 61706 [details] [details])
> > > -                if (value.isEmpty() || !value.startsWith(argument, false))
> > > +                if (value.isNull() || !value.startsWith(argument, false))
> > 
> > Why is this change needed or desirable?
> 
> Coming out of the loop, value.isEmpty() now means an acceptable value where we can test
> the :lang selector against, and value.isNull() means no lang value found, so we can break.

Can you add a test for this?

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