WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
149476
Range.surroundContents() should check for partially contained non-Text nodes first
https://bugs.webkit.org/show_bug.cgi?id=149476
Summary
Range.surroundContents() should check for partially contained non-Text nodes ...
Chris Dumez
Reported
2015-09-22 14:58:00 PDT
Range.surroundContents() should check for partially contained non-Text nodes first, before checking the type of the newParent parameter:
https://dom.spec.whatwg.org/#dom-range-surroundcontents
(step 1 and 2) Firefox and Chrome follow the specification.
Attachments
Patch
(55.22 KB, patch)
2015-09-22 15:02 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2015-09-22 15:02:51 PDT
Created
attachment 261767
[details]
Patch
WebKit Commit Bot
Comment 2
2015-09-22 16:15:16 PDT
Comment on
attachment 261767
[details]
Patch Clearing flags on attachment: 261767 Committed
r190139
: <
http://trac.webkit.org/changeset/190139
>
WebKit Commit Bot
Comment 3
2015-09-22 16:15:22 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4
2015-09-28 11:41:37 PDT
<
rdar://problem/22882532
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug