[Webkit-unassigned] [Bug 16065] WebKit applies the default style for removeFormat inappropriately

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 14:50:13 PDT 2009


--- Comment #17 from Ryosuke Niwa <rniwa at webkit.org>  2009-08-18 14:50:12 PDT ---
You need to file a bug for each one.  You cannot address all sort of issues in
one bug.

(In reply to comment #14)
> The code for this sample was taken from http://www.apple.com/macosx/ using copy
> and past in safari. Note that Safari decides to use an illegal <span> around
> the content to set the font etc.

There is a bug filed for this.

>After executing the unformat command, the <h3>
> is now enveloping all the content, a <font> and <span> has been added inside to
> counter this,

This is a separate issue, which I thought you were addressing in this bug
initially.  You should file another bug for this one.

>but the <span> misses the fist list item, leaving the first two
> lines bolted.
> Notice how safari still adds <span style="font-weight: normal;"> around one of
> the lines.

This is yet another bug.  Prepare a reduction and file a bug.

> It also seams to fail to remove the formatting from the empty span tag in the
> beginning plus a lot of the styling on the <h3> and <ul> tags, also an empty
> <ul> is illegal. All links have also been striped.

A lot of styling on h3 or ul isn't so definite.  Please be more specific about
what is expected and what actually happens.  And you need to do it for much
simpler HTML.

In general, we'd like to split the issues into smaller well-defined pieces. 
For example, instead of saying WebKit doesn't remove format properly, say that
WebKit adds style span when deleting h3, WebKit does not unbold all list
when~~~.  Being specific helps other contributers to understand what your
expectations are and what is wrong about current behavior.

I really appreciate your taking time to report the bugs because it helps us
improving WebKit.  But please re-read
https://webkit.org/quality/bugwriting.html and file each bug separately.

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