Closed
Bug 1291866
Opened 8 years ago
Closed 8 years ago
replace inIDOMUtils.cssPropertyIsValid
Categories
(DevTools :: Framework, enhancement, P1)
DevTools
Framework
Tracking
(firefox52 fixed)
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: tromey, Assigned: gregtatum)
References
(Blocks 1 open bug)
Details
(Whiteboard: [reserve-html])
Attachments
(1 file)
Bug 1069829 missed a few instances of cssPropertyIsValid.
See https://dxr.mozilla.org/mozilla-central/search?q=cssPropertyIsValid&redirect=true
Updated•8 years ago
|
Flags: qe-verify-
Priority: -- → P2
Whiteboard: [devtools-html] → [reserve-html]
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → gtatum
Updated•8 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 51.1 - Aug 15
Priority: P2 → P1
Assignee | ||
Comment 1•8 years ago
|
||
Setting this to dependent on bug 1265796 as we're introducing a lot of async calls to the stack, and hopefully (maybe) once that lands it will make this bug a little more tractable.
Updated•8 years ago
|
Iteration: 51.1 - Aug 15 → 51.2 - Aug 29
Updated•8 years ago
|
Iteration: 51.2 - Aug 29 → 51.3 - Sep 12
Assignee | ||
Comment 2•8 years ago
|
||
Assignee | ||
Comment 3•8 years ago
|
||
Assignee | ||
Comment 4•8 years ago
|
||
Comment hidden (mozreview-request) |
Reporter | ||
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8792520 [details]
Bug 1291866 - Replace inIDOMUtils.cssPropertyIsValid;
https://reviewboard.mozilla.org/r/79536/#review78198
::: devtools/client/shared/widgets/Tooltip.js:922
(Diff revision 1)
> * CSSFilterEditorWidget.
> *
> * @param {Toolbox} toolbox
> * The devtools toolbox, needed to get the devtools main window.
> */
> -function SwatchFilterTooltip(toolbox) {
> +function SwatchFilterTooltip(toolbox, cssIsValid) {
This needs an update to the function documentation.
::: devtools/shared/fronts/css-properties.js:101
(Diff revision 1)
> + this._dummyElement = doc.createElement("div");
> + }
> +
> + // `!important` is not a valid value when setting a style declaration in the
> + // CSS Object Model.
> + const sanitizedValue = ("" + value).replace(/!important$\s*$/, "");
There can be spaces between the "!" and "important" tokens.
Reporter | ||
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8792520 [details]
Bug 1291866 - Replace inIDOMUtils.cssPropertyIsValid;
https://reviewboard.mozilla.org/r/79536/#review78208
Thank you for doing this.
It looks good. I had a couple of nits.
Attachment #8792520 -
Flags: review?(ttromey) → review+
Comment hidden (mozreview-request) |
Updated•8 years ago
|
Iteration: 51.3 - Sep 19 → 52.1 - Oct 3
Assignee | ||
Comment 10•8 years ago
|
||
Assignee | ||
Comment 11•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 14•8 years ago
|
||
Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4b65f0d1008a
Replace inIDOMUtils.cssPropertyIsValid; r=tromey
Comment 15•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•