[Webkit-unassigned] [Bug 100453] contentEditable: Style of List Item Leaks Through After List End

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 2 23:30:28 PDT 2013


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





--- Comment #10 from Vani Hegde <vani.hegde at samsung.com>  2013-08-02 23:30:11 PST ---
(In reply to comment #9)
> I disagree. As far as user is concerned, it shouldn't matter whether the style is specified on li or on an inline element.
> 
> Specifically,
> <li style="color:red">hello</li>
> and
> <li><span style="color:red">hello</span></li>
> look identical for users.
> 
I agree that the above two cases do not make difference for the user.
But I believe here we are speaking about specific case of breaking out of an empty <li>.
So here we are either creating
1) <div>/<p>
      Should we apply the style of <li> to <div>/<p>?
2)or a new <li>
     Which will be part of different <ul>. If this <ul> has a different style property, shouldn't we apply that?
If the <ul> to which we are adding does not have any style, then we can consider applying the style present in empty <li>.


> Why should the fact the style is specified on li matter at all?
It definitely should matter, how can we apply the style specified for <li>, to
a normal text node?

Again, both http://jsfiddle.net/rpkMM/ and http://jsfiddle.net/JWdxC/ are examples. What do you think is the right behavior in the above examples. The one we currently have or firefox & IE behavior?

Do you mean we should stick on to the current behavior we have?

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