Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10370 closed defect (fixed)

MapCSS: text:name print "name" on the object

Reported by: plepe Owned by: team
Priority: major Milestone: 14.08
Component: Core mappaint Version:
Keywords: Cc:

Description

Until yesterday or two days ago, the following mapcss styles were equal:

node[something] {
  text: name;
}
node[something] {
  text: "name";
}
node[something] {
  text: tag(name);
}

Now (josm-latest, version: 7396, but snapshot 7391 has the same issue) the first prints the text "name" on all rendered objects. Version 7380 was the last snapshot to be correct. See the attached screenshots.

This is the style I'm using:

canvas {
  default-points: false;
  default-lines: false;
}
way[highway] {
  text: name;
  width: 2;
  color: blue;
} 

Attachments (2)

josm-bug-10370-v7396.png (119.3 KB) - added by plepe 9 years ago.
josm-bug-10370-v7380.png (120.9 KB) - added by plepe 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by plepe

Attachment: josm-bug-10370-v7396.png added

Changed 9 years ago by plepe

Attachment: josm-bug-10370-v7380.png added

comment:1 Changed 9 years ago by bastiK

Resolution: fixed
Status: newclosed

In 7397/josm:

fixed #10370 - MapCSS: text:name print "name" on the object

comment:2 Changed 9 years ago by Don-vip

Milestone: 14.08

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.