Closed Bug 1499991 Opened 7 years ago Closed 7 years ago

nsStyleDisplay::CalcStyleDifference doesn't handle no-op will-change changes correctly.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

<!doctype html> <div style="will-change: color"> <div style="will-change: inherit"> </div> </div> <pre> <script> let outer = document.querySelector("div"); let inner = outer.firstElementChild; document.writeln(getComputedStyle(outer).willChange); document.writeln(getComputedStyle(inner).willChange); outer.style.willChange = ""; document.writeln(getComputedStyle(outer).willChange); document.writeln(getComputedStyle(inner).willChange); </script> </pre>
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/b82c3a7696f9 Ensure no-op will-change changes also get reflected in the change hint. r=heycam,firefox-style-system-reviewers
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13594 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: