Closed Bug 831447 Opened 11 years ago Closed 10 years ago

[Cost Control] Cost control has invalid CSS "text-overflow: none"

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 828327

People

(Reporter: dholbert, Assigned: salva)

References

()

Details

(Keywords: b2g-testdriver, unagi)

STR:
 Open Cost control. Watch your |adb logcat| output.

ACTUAL RESULTS:
 This goes by in logcat:
{
E/GeckoConsole(  371): [JavaScript Warning: "Error in parsing value for
'text-overflow'.  Declaration dropped." {file:
"app://costcontrol.gaiamobile.org/style/bb/menus-dialogues/valueselector/date/style.css"
line: 30}]
}

The line it's pointing to is here:
> 27 body[role="application"] [role="dialog"] .calendar > a[role="button"] {
[...]
> 30   text-overflow: none;
https://github.com/mozilla-b2g/gaia/blame/master/apps/costcontrol/style/bb/menus-dialogues/valueselector/date/style.css#L30

Here's the MDN page on text-overflow, which shows it has no "none" value:
 https://developer.mozilla.org/en-US/docs/CSS/text-overflow#%3Coverflow-type%3E

I suspect "clip" is the actual value that was intended...?


This code was originally added in this commit:
https://github.com/mozilla-b2g/gaia/commit/0fff9cbab969070ba9ccdd719ea823458015450e#L19R30
Assignee: nobody → salva
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.