diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-03-18 17:22:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-18 17:22:55 -0400 |
commit | 34fda66dfa5528f2b10a873e9a67417c6986c712 (patch) | |
tree | 8994cc26cc41a45bbc189622871b4a1c0b378f18 /components/script/dom/text.rs | |
parent | 0fac8f2f62aff22897a0ca657a840333827cabf0 (diff) | |
parent | 4b8282b3b164771e3351c2a85890167ab6d0ab7f (diff) | |
download | servo-34fda66dfa5528f2b10a873e9a67417c6986c712.tar.gz servo-34fda66dfa5528f2b10a873e9a67417c6986c712.zip |
Auto merge of #22891 - georgeroman:implement_cdatasection, r=Manishearth
Implement CDATASection interface and createCDATASection method
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #22846
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22891)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/text.rs')
-rw-r--r-- | components/script/dom/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/text.rs b/components/script/dom/text.rs index 49deffb071a..a3b66583d83 100644 --- a/components/script/dom/text.rs +++ b/components/script/dom/text.rs @@ -24,7 +24,7 @@ pub struct Text { } impl Text { - fn new_inherited(text: DOMString, document: &Document) -> Text { + pub fn new_inherited(text: DOMString, document: &Document) -> Text { Text { characterdata: CharacterData::new_inherited(text, document), } |