WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
125873
Don't allow style sharing of customized styles
https://bugs.webkit.org/show_bug.cgi?id=125873
Summary
Don't allow style sharing of customized styles
Ryosuke Niwa
Reported
2013-12-17 14:19:08 PST
Consider merging
https://chromium.googlesource.com/chromium/blink/+/fc732005cac953cf3cc5229844d6755a1d39a052
There were many users of customStyleForRenderer() that were creating a custom style and then not marking it as unique. This normally wasn't an issue since the elements don't tend to be siblings of each other or at the same level of the tree, but could manifest in future form control types or the PasswordGeneratorButtonElement if we moved the calls to addToStyleSharingList (like future patches might). This patch adds all the missing setUnique() calls, but we should probably consider some more general solution in the future or get rid of the customStyleForRenderer() hook which is being used in bad ways all over the UA shadow elements.
Attachments
Add attachment
proposed patch, testcase, etc.
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