Chromium Code Reviews
DescriptionFix missing distribution recalc in quirks mode and Shadow DOM v0.
If a shadow tree had the following CONTENT element, and a class attribute of an
element was changed to class="K", distribution recalc was not triggered
because selector matching in quirks mode is done with ASCII-lower strings, but
Element::ShouldInvalidateDistributionWhenAttributeChanged() incorrectly applied
Unicode fold-case.
<content select=".K">
This CL is a behavior change, but this doesn't add a new test because Shadow DOM
v0 will be removed, and Shadow DOM in quirks mode must be very rare.
BUG=627682
Review-Url: https://codereview.chromium.org/2902903002
Cr-Commit-Position: refs/heads/master@{#474209}
Committed: https://chromium.googlesource.com/chromium/src/+/e4c18f4225d4a580bd6506687f9e39e42a79d32d
Patch Set 1 #
Messages
Total messages: 14 (10 generated)
|
|||||||||||||||||||