diff --git a/TASKS.md b/TASKS.md index 5ed901a..eff5c13 100644 --- a/TASKS.md +++ b/TASKS.md @@ -139,7 +139,7 @@ Per-component lines live in `tasks/`. Tags there: - [x] T40b a11y — `tasks/ch31-43.md` - [x] T41a Maps · View — `tasks/ch31-43.md` - [x] T41b Maps · Layers — `tasks/ch31-43.md` -- [ ] T41c Maps · World +- [x] T41c Maps · World — `tasks/ch31-43.md` - [ ] T42 Misc - [ ] T43 Library Tooling - [ ] T44 Capture: every component, light and dark, plus motion clips; roots still on `w_full` drop it, checked at 280px and in padded cards @@ -440,3 +440,5 @@ Per-component lines live in `tasks/`. Tags there: | T41a | 3 | PASS | | | T41b | 1 | FAIL | the code held, but four cluster claims had no test of the item's own: a pan keeping a group, an off-view cluster out of Tab, a folded pin's hand-off, members far apart shown whole | | T41b | 2 | PASS | | +| T41c | 1 | FAIL | a choropleth's points and lines drew in the page color; the legend covered the attribution under 332px; WorldMap's keying, credit and XK untested; a key given twice kept the last | +| T41c | 2 | PASS | | diff --git a/src/maps/world.rs b/src/maps/world.rs index e29951f..2a1ef28 100644 --- a/src/maps/world.rs +++ b/src/maps/world.rs @@ -20,7 +20,7 @@ fn iso(country: &Feature) -> Option<&str> { country.properties.get("iso").and_then(Value::as_str) } -/// The world's countries, washed each by its value keyed by ISO 3166 alpha-2 code, with a legend; Natural Earth is named in the corner unless the map names a source. Fails on a key that is no ISO code; a code with no country at this scale draws nowhere and is logged once. +/// The world's countries, washed each by its value keyed by ISO 3166 alpha-2 code, with a legend; Natural Earth is named in the corner unless the map names a source. Fails on a key that is neither an ISO code nor one of the bundle's; a code with no country at this scale draws nowhere and is logged once. #[derive(IntoElement)] pub struct WorldMap { id: ElementId,