gecko-dev/devtools
Razvan Caliman 081ab9f961 Bug 1512634 - Ensure cssProperties validates in lowercase. r=pbro
[Bug 1512634](https://bugzilla.mozilla.org/show_bug.cgi?id=1512634) occurred because the Rule view marks CSS properties as overriden when they are not lowercase. This happens because `ElementStyle.markOverridden()` relies on computed properties. They get built using `CSSProperties.getSubproperties()`. If the input to that method is not lowercase, it doesn't match properties from the CSS database and returns an empty array. This has a side-effect of marking the property as overriden.

In this patch we allow users to type property names in any case, but we validate the lowercase version of them.

Differential Revision: https://phabricator.services.mozilla.com/D14568

--HG--
extra : moz-landing-system : lando
2018-12-17 16:26:18 +00:00
..
client Bug 1512634 - Ensure cssProperties validates in lowercase. r=pbro 2018-12-17 16:26:18 +00:00
docs Backed out 14 changesets (bug 1508660, bug 1508656, bug 1504185) for browser_target_cached-front.js perma failures CLOSED TREE 2018-12-17 17:15:23 +02:00
platform Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
server Bug 1508285 - Refactor RootFront.listTabs to return BrowsingContextTargetFront instead of JSON form. r=yulia,jdescottes 2018-12-17 11:56:30 +00:00
shared Bug 1512634 - Ensure cssProperties validates in lowercase. r=pbro 2018-12-17 16:26:18 +00:00
startup Bug 1502924 - Remove Ctrl + Shift + S keyboard shortcut r=jlast,_6a68 2018-12-12 23:04:29 +00:00
.eslintrc.js Bug 1415483 - Extend reject-importGlobalProperties to reject any priviliged items already in scope. r=mossop 2018-12-11 21:39:38 +00:00
.eslintrc.mochitests.js Backed out changeset d8ff6c1c6f3a (bug 1471764) for failing devtools' browser_markup_flex_display_badge.js in beta simulations. a=backout 2018-09-04 18:21:03 +03:00
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build Bug 1490575 - Remove Mulet comments from build files. r=froydnj 2018-09-11 23:07:32 -07:00
templates.mozbuild