GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add render test for icon-size applied to an icon with a small stretch… · mapbox/mapbox-gl-js@84786a4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test
    • ignores
      • all.js
    • integration/render-tests/icon-size/small-stretch-area
      • expected.png
      • style.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/ignores/all.js‎

Copy file name to clipboardExpand all lines: test/ignores/all.js
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ const skip = [
137137
// Current behavior is arbitrary
138138
"render-tests/geojson/inline-linestring-fill",
139139

140+
// Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3407
141+
"render-tests/icon-size/small-stretch-area",
142+
140143
// Broken in similar way as gl-native https://mapbox.atlassian.net/browse/MAPSNAT-3448
141144
"render-tests/icon-size/depends-on-coalesce-image",
142145
"render-tests/appearance/icon-size-depends-on-coalesce-image",
Collapse file

‎test/integration/render-tests/icon-size/small-stretch-area/expected.png‎

Copy file name to clipboard
1.82 KB
  • Display the source diff
  • Display the rich diff
Loading
Collapse file

‎test/integration/render-tests/icon-size/small-stretch-area/style.json‎

Copy file name to clipboard
+40Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"version": 8,
3+
"metadata": {
4+
"test": {
5+
"width": 256,
6+
"height": 256
7+
}
8+
},
9+
"sources": {
10+
"geojson": {
11+
"type": "geojson",
12+
"data": {
13+
"type": "Point",
14+
"coordinates": [
15+
0,
16+
0
17+
]
18+
}
19+
}
20+
},
21+
"sprite": "local://sprites/rect",
22+
"layers": [
23+
{
24+
"id": "background",
25+
"type": "background",
26+
"paint": {
27+
"background-color": "rgba(255, 255, 255, 1)"
28+
}
29+
},
30+
{
31+
"id": "symbol",
32+
"type": "symbol",
33+
"source": "geojson",
34+
"layout": {
35+
"icon-image": "rect",
36+
"icon-size": 3
37+
}
38+
}
39+
]
40+
}

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.