WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
118027
StyleElement and ScriptElement should share code to serialize child text nodes
https://bugs.webkit.org/show_bug.cgi?id=118027
Summary
StyleElement and ScriptElement should share code to serialize child text nodes
Ryosuke Niwa
Reported
2013-06-25 21:22:10 PDT
https://chromium.googlesource.com/chromium/blink/+/92782495b32ae2f8f2afac7cfec05f7f17f5895a
Both StyleElement and ScriptElement were doing the same work to get the text of their Text node children. Unfortunately, the code was duplicated and had different optimizations. This CL combines the two implementations into one and applies all the optimizations.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2022-08-21 19:07:49 PDT
We share code now via TextNodeTraversal::childTextContent.
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