[Webkit-unassigned] [Bug 7360] Styling spans not removed after deleting all content

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Apr 5 09:06:59 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7360





------- Comment #8 from justin.garcia at apple.com  2006-04-05 09:06 PDT -------
I'm not sure that this bug is titled appropriately anymore, and the testcase
that's attached doesn't describe what it's testing.  Let's make sure we're on
the same page.  There is only one bug discussed here that I am familiar with. 
If there are others, let's file those in separate reports.

Here's the tree we produce, and the typing style resulting from the three
examples you gave:

> 1: Type three lines, bold all three, and delete the text in the middle line.

<div><b>line 1</b></div>
<div><b><br></b></div>
<div><b>line 3</b></div>

Current typing style: bold

Typing on the second line produces characters with the right style, and
clicking away/clicking back and typing produces characters with the right
style.


> 2: Type three lines, bold just the first and third lines, and delete the text in the middle line.

<div><b>line 1</b></div>
<div><br></div>
<div><b>line 3</b></div>

Current typing style: unbold

Typing on the second line produces characters with the right style, and
clicking away/clicking back and typing produces characters with the right
style.


> 3: Type three lines, bold all three, unbold the middle line, now delete the text in the middle line.

<div><b>line 1</b></div>
<div><br></div>
<div><b>line 3</b></div>

Current typing style: unbold

Typing on the second line produces characters with the right style, but
clicking away/clicking back and typing produces unbold text.  This is the only
bug as far as I can tell.  I'm going to retitle this bug and add a testcase
that demonstrates this bug.


> In HTML, it will be difficult to tell the difference between case 1 and case 2 because all tags must be nested

What do you mean by "all tags must be nested"?


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list