Closed
Bug 1357705
(stylo-inidomutils)
Opened 7 years ago
Closed 7 years ago
[meta] Stylo: Investigate inIDOMUtils APIs used by DevTools
Categories
(Core :: CSS Parsing and Computation, enhancement, P5)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
People
(Reporter: jryans, Unassigned)
References
Details
(Keywords: meta)
DevTools currently uses[1] the following APIs from inIDOMUtils[2], some of which may need Stylo specific support: Already updated for Stylo: * getCSSStyleRules (bug 1346256) * getAllStyleSheet (bug 1322661) Appears to use Gecko style objects, probably needs updating for Stylo: * parseStyleSheet * selectorMatchesElement Appears to use shared style objects, but Stylo passes invalid data: * getRuleLine (line is always set to 0) * getRuleColumn (column is always set to 0) * getRelativeRuleLine (line is always set to 0) Appears to only query static style data, could be deferred: * getCSSPseudoElementNames * isValidCSSColor * getCSSPropertyNames * getCSSValuesForProperty * getSubpropertiesForCSSProperty * isInheritedProperty * cssPropertyIsShorthand * cssPropertySupportsType * cssPropertyIsValid * getCSSLexer Appears to poke element state, seems correctly forwarded to Stylo: * hasPseudoClassLock * addPseudoClassLock * removePseudoClassLock * clearPseudoClassLocks Seems unrelated to Stylo: * getUsedFontFaces [1]: http://searchfox.org/mozilla-central/search?q=%5CbDOMUtils%5Cb&case=true®exp=true&path=devtools [2]: http://searchfox.org/mozilla-central/source/layout/inspector/inIDOMUtils.idl
Reporter | ||
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Updated•7 years ago
|
Priority: P3 → P2
Reporter | ||
Comment 1•7 years ago
|
||
Clearing priority for now, so it appears on :bholley's triage, but probably P2?
Priority: P2 → --
Updated•7 years ago
|
Priority: -- → P2
Reporter | ||
Comment 2•7 years ago
|
||
Looks like I missed a few originally. Appears to use Gecko style objects, probably needs updating for Stylo: * getSelectorCount * getSelectorText * getSpecificity Seems unrelated to Stylo: * colorToRGBA
Reporter | ||
Updated•7 years ago
|
Alias: stylo-inidomutils
Reporter | ||
Updated•7 years ago
|
Keywords: meta
Priority: P2 → P5
Summary: Stylo: Investigate inIDOMUtils APIs used by DevTools → [meta] Stylo: Investigate inIDOMUtils APIs used by DevTools
Reporter | ||
Comment 3•7 years ago
|
||
It seems like we've covered the APIs we need here, great work all! \o/
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•