WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
15340
Avoid uselessly serializing CSS property values on replacement for 10% CK DOM speedup
https://bugs.webkit.org/show_bug.cgi?id=15340
Summary
Avoid uselessly serializing CSS property values on replacement for 10% CK DOM...
Maciej Stachowiak
Reported
2007-10-02 01:23:58 PDT
When a CSS property value is replaced in any way, the old property is first removed. removeProperty returns the old property value because that is what the CSSOM calls for. But we can just use an internal version in this case that does not bother to generate the return value, since serializing the property value can be expensive.
Attachments
do it
(32.07 KB, patch)
2007-10-02 01:26 PDT
,
Maciej Stachowiak
mitz: review+
Details
Formatted Diff
Diff
for reference, without the extraneous bits
(3.51 KB, patch)
2007-10-02 20:56 PDT
,
Maciej Stachowiak
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Maciej Stachowiak
Comment 1
2007-10-02 01:26:12 PDT
Created
attachment 16499
[details]
do it
mitz
Comment 2
2007-10-02 01:31:40 PDT
Comment on
attachment 16499
[details]
do it The patch includes extra changes unrelated to this bug. r=me on the CSSMutableStyleDeclaration change.
Maciej Stachowiak
Comment 3
2007-10-02 02:23:00 PDT
Oops. the markup.cpp changes are from another bug.
Maciej Stachowiak
Comment 4
2007-10-02 20:56:46 PDT
Created
attachment 16511
[details]
for reference, without the extraneous bits
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