Closed
Bug 926283
Opened 11 years ago
Closed 11 years ago
CSS Tools unnecessarily translate color names to hex in url() definition
Categories
(DevTools :: Inspector, defect)
Tracking
(firefox26 unaffected, firefox27+ verified)
RESOLVED
FIXED
Firefox 27
Tracking | Status | |
---|---|---|
firefox26 | --- | unaffected |
firefox27 | + | verified |
People
(Reporter: alex, Assigned: miker)
References
()
Details
(Keywords: regression, verifyme)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release) Build ID: 20131009055629 Steps to reproduce: In options of editor i prefer view colors in hex mode, but this is not important. I want to see a page what contains some style like this: <!DOCTYPE html> <style type="text/css"> div {background:url('http://eu.battle.net/d3/static/images/item/icon-bgs/orange.png');} </style> <div>something</div> Actual results: When I inspect element in Inspector it shows me this style for div: url("http://eu.battle.net/d3/static/images/item/icon-bgs/#FFA500.png") ...; so URL became invalid, the orange.png became #ffa500.png. Expected results: it should not find color keywords inside url() block.
Reporter | ||
Updated•11 years ago
|
Severity: normal → major
Component: Untriaged → Developer Tools: Inspector
This sounds like bug 923884. It should be fixed if you update to the current nightly.
Reporter | ||
Comment 2•11 years ago
|
||
Thank you, I've updated nightly, but no. This is different bug. In bug 923884 they fixed replace in markup view. In Inspector, bug still exists in 27.0a1 (2013-10-13)
Right. It seems to be OK in the markup view but it's shown wrong in the styles box (Rules and Computed). Is that what you mean? Could you attach a screenshot of it, just to be clear where the problem is?
Reporter | ||
Comment 4•11 years ago
|
||
Thanks. It looks like a similar problem to bug 923884, but affecting the style inspector rather than the markup view.
Keywords: regression,
regressionwindow-wanted
Comment 6•11 years ago
|
||
Regression window(fx-team) Good: http://hg.mozilla.org/integration/fx-team/rev/184a0076278b Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 ID:20130917075536 Bad: http://hg.mozilla.org/integration/fx-team/rev/220ce292a894 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 ID:20130917084033 Pushlog: http://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=184a0076278b&tochange=220ce292a894 Suspect: e4e9ca3868d3 Michael Ratcliffe — Bug 911748 - Add default color dropdown to devtools options panel. r=jwalker
Blocks: 911748
Status: UNCONFIRMED → NEW
tracking-firefox27:
--- → ?
Ever confirmed: true
Keywords: regressionwindow-wanted
Assignee | ||
Comment 7•11 years ago
|
||
Bug 918716 will fix this.
Assignee: nobody → mratcliffe
Depends on: 918716
Summary: web inspector translated color names to hex when it's not needed, like in url() defenition → CSS Tools unnecessarily translate color names to hex in url() definition
Assignee | ||
Comment 8•11 years ago
|
||
Bug 918716 should have fixed that... can you try with the latest nightly.
Assignee | ||
Comment 10•11 years ago
|
||
Fixed in bug 918716
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Reporter | ||
Comment 11•11 years ago
|
||
Thank you.
Updated•11 years ago
|
Target Milestone: --- → Firefox 27
Comment 12•11 years ago
|
||
Verified as fixed with latest Aurora (build ID: 20131030004000). Please see in the screenshot that the correct behavior is now displayed.
Updated•11 years ago
|
QA Contact: manuela.muntean
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•