Commit Graph

16 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
05d87ec883 Bug 1399314 - Introdue CssLogic.getCSSStyleRules to get style rules for ::before and ::after pseudo elements handy. r=bgrins
For pseudo elements, inIDOMUtils.getCSSStyleRules needs to take the parent
element of the pseudo element and pseudo name. This new function wraps
inIDOMUtils.getCSSStyleRules so that we can get style rules for pseudo elements
handy.

MozReview-Commit-ID: LRQBdiizoL7
2017-10-13 07:19:54 +09:00
Hiroyuki Ikezoe
e780a1d2b8 Bug 1399314 - Move getBindingElementAndPseudo into shared/inspector/css-logic.js. r=ochameau
MozReview-Commit-ID: 4Ka61REglh
2017-10-13 07:19:54 +09:00
Cosine
8f4556eea8 Bug 1085119 - Part 1: Make devtools css-logic consider column when choosing best rule r=tromey
This allows minified CSS to be displayed correctly, as in
http://jsfiddle.net/oy4rkyax/

MozReview-Commit-ID: F8buX4gYY2P
2017-08-31 16:47:52 -04:00
Xidorn Quan
bff4918748 Bug 1387905 part 2 - Use 10bit for specificity in Gecko as well. r=heycam
MozReview-Commit-ID: G5qq0FY0HQ8
2017-09-04 12:07:24 +10:00
Julian Descottes
8186164963 Bug 1333711 - guard against DOMExceptions when accessing stylesheet cssRules;r=gl
MozReview-Commit-ID: C2OoN0uZIo
2017-02-13 16:23:39 +01:00
Florian Quèze
ca51131957 Bug 1334156 - replace ownerDocument.defaultView usages by hand in a few places, r=jaws. 2017-01-27 10:51:02 +01:00
Tom Tromey
9114f27857 Bug 1331626 - remove unnecessary import from css-logic.js; r=jdescottes
MozReview-Commit-ID: Br3JJiR0IOd
2017-01-17 07:37:12 -07:00
Sebastian Hengst
c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen
548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Alexandre Poirot
b1fb773627 Bug 1154645 - Move findCssSelector from server to shared. r=pbro
MozReview-Commit-ID: DjEO1hjFSc5
2016-11-09 09:22:42 -08:00
Philipp Kewisch
dc8e3f9b36 Bug 1298879 - Upgrade to ESLint 3.5.0 for faster linting. r=miker 2016-09-20 10:27:03 +01:00
Greg Tatum
0fc28c2ff3 Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-09-14 10:00:27 -05:00
Sebastian Hengst
93c9c62451 Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout 2016-09-13 17:43:44 +02:00
Greg Tatum
36e0a1b1fa Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-08-29 11:02:34 -05:00
Tom Tromey
6892a50d74 Bug 1292574 - make CSS a global rather than a module in devtools loader; r=gregtatum
MozReview-Commit-ID: 5RYwDAW4wxt
2016-08-05 08:32:59 -06:00
Tom Tromey
a1c55e31b0 Bug 1225254 - split css-logic.js into server and shared files; r=pbro
MozReview-Commit-ID: BTFVQJcVI5d
2016-06-24 08:26:21 -06:00