home.css
: CSS profile ✅.js
import...
) ✅eval()
) ✅.getElementById()
, document
, event handlers) ⚠️.html
❓️️️ ⚠️
Success Criteria
[...] In order to advance to Proposed Recommendation, each normative specification must have an open test suite of every feature defined in the specification.
There should be testing plans for each specification, starting from the earliest drafts.
pkg
, mnf
, lcy
)MUST
, MAY
or SHOULD
test.jsonld
within app code
6.2 background_color member
The
background_color
member is a string that specifies the background color of the window that contains a MiniApp.This member supports sRGB colors, and it is equivalent to the application manifest's
background_color
.
{ [...] // this is test.jsonld "@type": "earl:TestCase", "dc:coverage": "Manifest", "dc:identifier": "mnf-window-background-color", "dcterms:conformsTo": "must", "dc:date": "2022-07-11", "dc:title": "Window background color set", "dc:description": "The window's background member is set to #00FF00, so the app page must have a green background.", "dcterms:isReferencedBy": [ "https://www.w3.org/TR/miniapp-manifest/#background_color-member" ], "dcterms:rights": "https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document", "dcterms:rightsHolder": "https://www.w3.org", "dc:creator": [ "Martin Alvarez"], }
/tests
/{ID}/src
/{ID}/test.json
/{ID}.ma
mnf-window-background-color.ma
)/reports
{ "name": "ACME Mini Programs", "ref": "https://example.org/", "variant" : "iOS", "tests": { "mnf-window-background-color": true, "mnf-window-fullscreen-default": true, "mnf-window-fullscreen-true": false, "mnf-window-orientation-default": true, "mnf-window-orientation-landscape": true, "mnf-window-orientation-portrait": false, "pkg-pages-same-filenames": true, "pkg-root-app-css-empty": true } }
Questions?