Bug 1523305 - Show Font Editor in read-only mode for pseudo-elements. r=gl
authorRazvan Caliman <rcaliman@mozilla.com>
Mon, 04 Feb 2019 12:05:23 +0000
changeset 11078 b867c02d790b
parent 11077 ddc7c5f8e29a
child 11079 b210dfb9803a
push id116
push userfrancesco.lodolo@mozillaitalia.org
push dateThu, 07 Feb 2019 11:55:15 +0000
reviewersgl
bugs1523305
Bug 1523305 - Show Font Editor in read-only mode for pseudo-elements. r=gl Adds a new `disabled` property to the Font Editor Redux store applicable to all input fields. When inspecting a pseudo-element, this `disabled` property is set to true. This allows the pseudo-element to be inspected, but prevents editing font property values because it's currently not possible to write them back to CSS rules other than element inline styles. Differential Revision: https://phabricator.services.mozilla.com/D18364 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 6059b24342142db033db72eeae6cc39bad7e2b52 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: a5be6b7b655088dd31c13a97b86aa37361b9f6d2 X-Channel-Repo: releases/mozilla-release X-Channel-Revision: c2fca1944d8c54d01a5e2d7e13d965e4a6597307