RESOLVED FIXED30148
Applying h1 format to text node after HR tag fails to include first letter of text node.
https://bugs.webkit.org/show_bug.cgi?id=30148
Summary Applying h1 format to text node after HR tag fails to include first letter of...
Michael Thomas
Reported 2009-10-06 19:54:29 PDT
Attachments
adds a test case (2.24 KB, patch)
2010-03-09 14:49 PST, Ryosuke Niwa
darin: review-
fixed the test description (2.13 KB, patch)
2010-03-09 18:52 PST, Ryosuke Niwa
no flags
Tony Chang
Comment 1 2010-01-20 19:16:21 PST
The patch on bug 32131 fixes this test as well. It's another case where we call applyStyle then restore the selection incorrectly. In this case, we're off by a character so the selection no longer contains the first letter after the HR tag.
Tony Chang
Comment 2 2010-03-08 21:09:04 PST
I think this bug is now fixed, but we should add a layout test so it doesn't regress.
Ryosuke Niwa
Comment 3 2010-03-09 14:49:40 PST
Created attachment 50354 [details] adds a test case We could make this a js test and add more test cases.
Darin Adler
Comment 4 2010-03-09 14:50:52 PST
Comment on attachment 50354 [details] adds a test case > +This tests removing underline which is applied outside of unsplittable element. We shouldn't be removing underline. Huh? > +<p>This tests removing underline which is applied outside of unsplittable element. We shouldn't be removing underline.</p> Wrong description here.
Ryosuke Niwa
Comment 5 2010-03-09 18:52:27 PST
Created attachment 50364 [details] fixed the test description (In reply to comment #4) > (From update of attachment 50354 [details]) > > +<p>This tests removing underline which is applied outside of unsplittable element. We shouldn't be removing underline.</p> > > Wrong description here. Sorry, I was too careless. Fixed.
Ryosuke Niwa
Comment 6 2010-03-10 10:28:34 PST
Comment on attachment 50364 [details] fixed the test description Added to the commit queue.
WebKit Commit Bot
Comment 7 2010-03-11 18:47:44 PST
Comment on attachment 50364 [details] fixed the test description Clearing flags on attachment: 50364 Committed r55876: <http://trac.webkit.org/changeset/55876>
WebKit Commit Bot
Comment 8 2010-03-11 18:47:49 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.