Chromium Code Reviews
DescriptionDon't check shareElement for attribute rules in SharedStyleFinder.
There's no reason to do this, if an element matched
an attribute rule then it'll have a unique style and
RenderStyle::isSharable() will return false so we
wouldn't even get here.
If we could have matched an attribute rule, but didn't
actually match one then we can continue to share with
other elements that aren't affected by attribute rules
since even though our attributes could affect styling
the rules didn't match us.
R=ojan@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/042308603aa4c134985b9cbfa3df9bb3d67be231
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||