From 0e4717fe746063055b311546fe1fb6f085cd1b82 Mon Sep 17 00:00:00 2001 From: Christian Liebel Date: Tue, 15 Oct 2024 19:04:20 +0200 Subject: [PATCH] Make enums case-insensitive --- index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.html b/index.html index 7880b89b..8e226475 100644 --- a/index.html +++ b/index.html @@ -496,6 +496,8 @@

  • [=Strip leading and trailing ASCII whitespace=] from |json|["dir"].
  • +
  • [=ASCII lowercase=] |json|["dir"]. +
  • If [=text-direction list=] doesn't [=list/contain=] |json|["dir"], return.
  • @@ -682,6 +684,8 @@

  • [=Strip leading and trailing ASCII whitespace=] from |json|["display"].
  • +
  • [=ASCII lowercase=] |json|["display"]. +
  • If [=display modes list=] doesn't [=list/contain=] |json|["display"], return.
  • @@ -744,6 +748,8 @@

  • [=Strip leading and trailing ASCII whitespace=] from |json|["orientation"].
  • +
  • [=ASCII lowercase=] |json|["orientation"]. +
  • If |json|["orientation"] doesn't [=list/contain=] any of the [=orientation values=], return.