| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-present eyeo GmbH | 3 * Copyright (C) 2006-present eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
| 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| 16 */ | 16 */ |
| 17 | 17 |
| 18 "use strict"; | 18 "use strict"; |
| 19 | 19 |
| 20 module.exports = [ | 20 module.exports = [ |
| 21 // Display | 21 // Display |
|
juliandoucette
2018/01/15 17:51:58
NIT: Looks like this should have a newline before
ire
2018/01/22 08:52:55
I think the newline before is not applicable to th
| |
| 22 "display", | 22 { |
| 23 "visibility", | 23 "order": "flexible", |
| 24 "float", | 24 "properties": [ |
| 25 "clear", | 25 "display", |
| 26 "overflow", | 26 "visibility", |
| 27 "overflow-x", | 27 "float", |
| 28 "overflow-y", | 28 "clear", |
| 29 "clip", | 29 "overflow", |
| 30 "zoom", | 30 "overflow-x", |
| 31 "flex-direction", | 31 "overflow-y", |
| 32 "flex-order", | 32 "clip", |
| 33 "flex-pack", | 33 "zoom", |
| 34 "flex-align", | 34 "flex-direction", |
| 35 "flex-order", | |
| 36 "flex-pack", | |
| 37 "flex-align" | |
| 38 ] | |
| 39 }, | |
| 35 | 40 |
| 36 // Positioning | 41 // Positioning |
| 37 "position", | 42 { |
| 38 "z-index", | 43 "order": "flexible", |
| 39 "top", | 44 "properties": [ |
| 40 "right", | 45 "position", |
| 41 "bottom", | 46 "z-index", |
| 42 "left", | 47 "top", |
| 48 "right", | |
| 49 "bottom", | |
| 50 "left" | |
| 51 ] | |
| 52 }, | |
| 43 | 53 |
| 44 // Box model | 54 // Box model |
| 45 "box-sizing", | 55 { |
| 46 "width", | 56 "order": "flexible", |
| 47 "min-width", | 57 "properties": [ |
| 48 "max-width", | 58 "box-sizing", |
| 49 "height", | 59 "width", |
| 50 "min-height", | 60 "min-width", |
| 51 "max-height", | 61 "max-width", |
| 52 "margin", | 62 "height", |
| 53 "margin-top", | 63 "min-height", |
| 54 "margin-right", | 64 "max-height", |
| 55 "margin-bottom", | 65 "margin", |
| 56 "margin-left", | 66 "margin-top", |
| 57 "padding", | 67 "margin-right", |
| 58 "padding-top", | 68 "margin-bottom", |
| 59 "padding-right", | 69 "margin-left", |
| 60 "padding-bottom", | 70 "padding", |
| 61 "padding-left", | 71 "padding-top", |
| 62 "border", | 72 "padding-right", |
| 63 "border-width", | 73 "padding-bottom", |
| 64 "border-style", | 74 "padding-left", |
| 65 "border-color", | 75 "border", |
| 66 "border-top", | 76 "border-width", |
| 67 "border-top-width", | 77 "border-style", |
| 68 "border-top-style", | 78 "border-color", |
| 69 "border-top-color", | 79 "border-top", |
| 70 "border-right", | 80 "border-top-width", |
| 71 "border-right-width", | 81 "border-top-style", |
| 72 "border-right-style", | 82 "border-top-color", |
| 73 "border-right-color", | 83 "border-right", |
| 74 "border-bottom", | 84 "border-right-width", |
| 75 "border-bottom-width", | 85 "border-right-style", |
| 76 "border-bottom-style", | 86 "border-right-color", |
| 77 "border-bottom-color", | 87 "border-bottom", |
| 78 "border-left", | 88 "border-bottom-width", |
| 79 "border-left-width", | 89 "border-bottom-style", |
| 80 "border-left-style", | 90 "border-bottom-color", |
| 81 "border-left-color", | 91 "border-left", |
| 82 "border-radius", | 92 "border-left-width", |
| 83 "border-top-left-radius", | 93 "border-left-style", |
| 84 "border-top-right-radius", | 94 "border-left-color", |
| 85 "border-bottom-right-radius", | 95 "border-radius", |
| 86 "border-bottom-left-radius", | 96 "border-top-left-radius", |
| 87 "border-image", | 97 "border-top-right-radius", |
| 88 "border-image-source", | 98 "border-bottom-right-radius", |
| 89 "border-image-slice", | 99 "border-bottom-left-radius", |
| 90 "border-image-width", | 100 "border-image", |
| 91 "border-image-outset", | 101 "border-image-source", |
| 92 "border-image-repeat", | 102 "border-image-slice", |
| 93 "table-layout", | 103 "border-image-width", |
| 94 "empty-cells", | 104 "border-image-outset", |
| 95 "caption-side", | 105 "border-image-repeat", |
| 96 "border-spacing", | 106 "table-layout", |
| 97 "border-collapse", | 107 "empty-cells", |
| 108 "caption-side", | |
| 109 "border-spacing", | |
| 110 "border-collapse" | |
| 111 ] | |
| 112 }, | |
| 98 | 113 |
| 99 // Colors and Typography | 114 // Colors and Typography |
| 100 "outline", | 115 { |
| 101 "outline-width", | 116 "order": "flexible", |
| 102 "outline-style", | 117 "properties": [ |
| 103 "outline-color", | 118 "outline", |
| 104 "outline-offset", | 119 "outline-width", |
| 105 "opacity", | 120 "outline-style", |
| 106 "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity", | 121 "outline-color", |
| 107 "color", | 122 "outline-offset", |
| 108 "background", | 123 "opacity", |
| 109 "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader", | 124 "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity", |
| 110 "background-color", | 125 "color", |
| 111 "background-image", | 126 "background", |
| 112 "background-repeat", | 127 "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader", |
| 113 "background-attachment", | 128 "background-color", |
| 114 "background-position", | 129 "background-image", |
| 115 "background-position-x", | 130 "background-repeat", |
| 116 "background-position-y", | 131 "background-attachment", |
| 117 "background-clip", | 132 "background-position", |
| 118 "background-origin", | 133 "background-position-x", |
| 119 "background-size", | 134 "background-position-y", |
| 120 "box-decoration-break", | 135 "background-clip", |
| 121 "box-shadow", | 136 "background-origin", |
| 122 "filter:progid:DXImageTransform.Microsoft.gradient", | 137 "background-size", |
| 123 "text-shadow", | 138 "box-decoration-break", |
| 124 "font", | 139 "box-shadow", |
| 125 "font-family", | 140 "filter:progid:DXImageTransform.Microsoft.gradient", |
| 126 "src", | 141 "text-shadow", |
| 127 "font-size", | 142 "font", |
| 128 "font-weight", | 143 "font-family", |
| 129 "font-style", | 144 "src", |
| 130 "font-variant", | 145 "font-size", |
| 131 "font-size-adjust", | 146 "font-weight", |
| 132 "font-stretch", | 147 "font-style", |
| 133 "font-effect", | 148 "font-variant", |
| 134 "font-emphasize", | 149 "font-size-adjust", |
| 135 "font-emphasize-position", | 150 "font-stretch", |
| 136 "font-emphasize-style", | 151 "font-effect", |
| 137 "font-smooth", | 152 "font-emphasize", |
| 138 "line-height", | 153 "font-emphasize-position", |
| 139 "text-align", | 154 "font-emphasize-style", |
| 140 "text-align-last", | 155 "font-smooth", |
| 141 "vertical-align", | 156 "line-height", |
| 142 "white-space", | 157 "text-align", |
| 143 "text-decoration", | 158 "text-align-last", |
| 144 "text-emphasis", | 159 "vertical-align", |
| 145 "text-emphasis-color", | 160 "white-space", |
| 146 "text-emphasis-style", | 161 "text-decoration", |
| 147 "text-emphasis-position", | 162 "text-emphasis", |
| 148 "text-indent", | 163 "text-emphasis-color", |
| 149 "text-justify", | 164 "text-emphasis-style", |
| 150 "letter-spacing", | 165 "text-emphasis-position", |
| 151 "word-spacing", | 166 "text-indent", |
| 152 "text-outline", | 167 "text-justify", |
| 153 "text-transform", | 168 "letter-spacing", |
| 154 "text-wrap", | 169 "word-spacing", |
| 155 "text-overflow", | 170 "text-outline", |
| 156 "text-overflow-ellipsis", | 171 "text-transform", |
| 157 "text-overflow-mode", | 172 "text-wrap", |
| 158 "word-wrap", | 173 "text-overflow", |
| 159 "word-break", | 174 "text-overflow-ellipsis", |
| 160 "tab-size", | 175 "text-overflow-mode", |
| 161 "hyphens", | 176 "word-wrap", |
| 177 "word-break", | |
| 178 "tab-size", | |
| 179 "hyphens" | |
| 180 ] | |
| 181 }, | |
| 162 | 182 |
| 163 // Other | 183 // Other |
| 164 "list-style", | 184 { |
| 165 "list-style-position", | 185 "order": "flexible", |
| 166 "list-style-type", | 186 "properties": [ |
| 167 "list-style-image", | 187 "list-style", |
| 168 "content", | 188 "list-style-position", |
| 169 "quotes", | 189 "list-style-type", |
| 170 "counter-reset", | 190 "list-style-image", |
| 171 "counter-increment", | 191 "content", |
| 172 "resize", | 192 "quotes", |
| 173 "cursor", | 193 "counter-reset", |
| 174 "user-select", | 194 "counter-increment", |
| 175 "nav-index", | 195 "resize", |
| 176 "nav-up", | 196 "cursor", |
| 177 "nav-right", | 197 "user-select", |
| 178 "nav-down", | 198 "nav-index", |
| 179 "nav-left", | 199 "nav-up", |
| 180 "transition", | 200 "nav-right", |
| 181 "transition-delay", | 201 "nav-down", |
| 182 "transition-timing-function", | 202 "nav-left", |
| 183 "transition-duration", | 203 "transition", |
| 184 "transition-property", | 204 "transition-delay", |
| 185 "transform", | 205 "transition-timing-function", |
| 186 "transform-origin", | 206 "transition-duration", |
| 187 "animation", | 207 "transition-property", |
| 188 "animation-name", | 208 "transform", |
| 189 "animation-duration", | 209 "transform-origin", |
| 190 "animation-play-state", | 210 "animation", |
| 191 "animation-timing-function", | 211 "animation-name", |
| 192 "animation-delay", | 212 "animation-duration", |
| 193 "animation-iteration-count", | 213 "animation-play-state", |
| 194 "animation-direction", | 214 "animation-timing-function", |
| 195 "backface-visibility", | 215 "animation-delay", |
| 196 "text-rendering", | 216 "animation-iteration-count", |
| 197 "pointer-events" | 217 "animation-direction", |
| 218 "backface-visibility", | |
| 219 "text-rendering", | |
| 220 "pointer-events" | |
| 221 ] | |
| 222 } | |
| 198 ]; | 223 ]; |
| LEFT | RIGHT |