diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-25 19:55:02 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-25 19:55:02 +0530 |
commit | e7b19249489eff7a7fd49bf458ee7bd681f8ad13 (patch) | |
tree | e8a3549701e0a1cdf23d47fa8a4184934528c279 /components/script/dom/htmloptgroupelement.rs | |
parent | 66848048465f5fee6c65eea1c0d0050b8fa27528 (diff) | |
parent | 25b7c9523c535ca6b57d0c9286a51cdf396fac8c (diff) | |
download | servo-e7b19249489eff7a7fd49bf458ee7bd681f8ad13.tar.gz servo-e7b19249489eff7a7fd49bf458ee7bd681f8ad13.zip |
Auto merge of #6826 - dzbarsky:deletecontents, r=jdm
Implement Range#deleteContents
Sadly calling ExtractContents and discarding the result doesn't do the right thing.
It may be worth having a CutContents method that takes an `Option<DocumentFragment>` and switch the behavior based on it, to share the code between DeleteContents and ExtractContents, like what Gecko does. Maybe a followup.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6826)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmloptgroupelement.rs')
0 files changed, 0 insertions, 0 deletions