Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"The geeks shall inherit the earth." -- Karl Lehenbauer


devel / comp.infosystems.www.authoring.stylesheets / Re: meter element

SubjectAuthor
* meter elementAndrew Poulos
+- Re: meter elementThomas 'PointedEars' Lahn
`* Re: meter elementThomas 'PointedEars' Lahn
 `* Re: meter elementAndrew Poulos
  +- Re: meter elementJames Kirk
  `* Re: meter elementThomas 'PointedEars' Lahn
   `- Re: meter elementAndrew Poulos

1
meter element

<WJKdnbmVf9P70w79nZ2dnUU7-RHNnZ2d@westnet.com.au>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=76&group=comp.infosystems.www.authoring.stylesheets#76

  copy link   Newsgroups: comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 05 May 2021 21:03:18 -0500
Newsgroups: comp.infosystems.www.authoring.stylesheets
X-Mozilla-News-Host: news://news.iinet.net.au:119
From: ap_p...@hotmail.com (Andrew Poulos)
Subject: meter element
Date: Thu, 6 May 2021 12:03:17 +1000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-AU
Content-Transfer-Encoding: 7bit
Message-ID: <WJKdnbmVf9P70w79nZ2dnUU7-RHNnZ2d@westnet.com.au>
Lines: 8
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 60.242.182.53
X-Trace: sv3-NRwMQ6nO8Bgvb7uBYopE3F7qhLK1aAADFWtXG3kjUUH+g0i99dQbY5YffzOQgbTWrFUAn2lyWhVn7w0!KJ3WMCioWa7Y03qkKXYEC/CLKItnnAlkwX3OVawZ+W4pIccCB2f/Nmj7iYol8dOOukQ+8gifDHPC!r/gIbjHCYDkkzJwZ+ZVX
X-Complaints-To: abuse@westnet.com.au
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1350
 by: Andrew Poulos - Thu, 6 May 2021 02:03 UTC

A few questions about styling a meter element. Is there a way to :

- set the various colours (optimal, low, high)
- have it vertical
- animate a change in the value
?

Andrew Poulos

Re: meter element

<4111991.ejJDZkT8p0@PointedEars.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=77&group=comp.infosystems.www.authoring.stylesheets#77

  copy link   Newsgroups: comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!aioe.org!news.mb-net.net!open-news-network.org!.POSTED.178.197.192.241!not-for-mail
From: PointedE...@web.de (Thomas 'PointedEars' Lahn)
Newsgroups: comp.infosystems.www.authoring.stylesheets
Subject: Re: meter element
Date: Thu, 06 May 2021 23:34:02 +0200
Organization: PointedEars Software (PES)
Lines: 32
Message-ID: <4111991.ejJDZkT8p0@PointedEars.de>
References: <WJKdnbmVf9P70w79nZ2dnUU7-RHNnZ2d@westnet.com.au>
Reply-To: Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8Bit
Injection-Info: gwaiyur.mb-net.net; posting-host="178.197.192.241";
logging-data="10621"; mail-complaints-to="abuse@open-news-network.org"
User-Agent: KNode/4.14.10
Cancel-Lock: sha1:EN6YI+pOGOnBCkNOqikaBHmSfzQ=
X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASo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qrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg==
 by: Thomas 'Pointed - Thu, 6 May 2021 21:34 UTC

Andrew Poulos wrote:

> A few questions about styling a meter element. Is there a way to :
>
> - set the various colours (optimal, low, high)

As always with native controls, it is usually not possible to style them in
a compatible way. By trial-and-error (in the Chrome Dev Tools “Elements”
tab) I have not found even a WebKit-specific CSS property to set the color.

If you need a consistent look, you have to design your own control or use an
existing library.

> - have it vertical

As always:

translate: rotate(-90deg);

or

translate: rotate(90deg);

> - animate a change in the value
> ?

Only with scripting, I suppose.

--
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Re: meter element

<2076630.Mh6RI2rZIc@PointedEars.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=78&group=comp.infosystems.www.authoring.stylesheets#78

  copy link   Newsgroups: comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!aioe.org!news.mb-net.net!open-news-network.org!.POSTED.178.197.192.241!not-for-mail
From: PointedE...@web.de (Thomas 'PointedEars' Lahn)
Newsgroups: comp.infosystems.www.authoring.stylesheets
Subject: Re: meter element
Date: Thu, 06 May 2021 23:40:54 +0200
Organization: PointedEars Software (PES)
Lines: 17
Message-ID: <2076630.Mh6RI2rZIc@PointedEars.de>
References: <WJKdnbmVf9P70w79nZ2dnUU7-RHNnZ2d@westnet.com.au>
Reply-To: Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: gwaiyur.mb-net.net; posting-host="178.197.192.241";
logging-data="11399"; mail-complaints-to="abuse@open-news-network.org"
User-Agent: KNode/4.14.10
Cancel-Lock: sha1:Q5xoSgHtVYbEjEsVxBKjosAhA5Y=
Face: iVBORw0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1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v
X-User-ID: U2FsdGVkX1+9xcuEypxaPT7hZBKUn5yqWWxLKMLGpJrsh67ovB/XhA==
 by: Thomas 'Pointed - Thu, 6 May 2021 21:40 UTC

Andrew Poulos wrote:

> A few questions about styling a meter element. Is there a way to :
>
> - set the various colours (optimal, low, high)
> - have it vertical
> - animate a change in the value
> ?

You should (have) do(ne) this:

<https://www.google.com/search?q=style+meter+element>

--
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Re: meter element

<45ydnWK-J_tIDwn9nZ2dnUU7-RPNnZ2d@westnet.com.au>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=79&group=comp.infosystems.www.authoring.stylesheets#79

  copy link   Newsgroups: comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 06 May 2021 20:07:33 -0500
Subject: Re: meter element
Newsgroups: comp.infosystems.www.authoring.stylesheets
References: <WJKdnbmVf9P70w79nZ2dnUU7-RHNnZ2d@westnet.com.au>
<2076630.Mh6RI2rZIc@PointedEars.de>
From: ap_p...@hotmail.com (Andrew Poulos)
Date: Fri, 7 May 2021 11:07:31 +1000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <2076630.Mh6RI2rZIc@PointedEars.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-AU
Content-Transfer-Encoding: 7bit
Message-ID: <45ydnWK-J_tIDwn9nZ2dnUU7-RPNnZ2d@westnet.com.au>
Lines: 20
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 60.242.182.53
X-Trace: sv3-oYmfAtxy6+ZC+oNuCbIhZh2Xcaa9jfv2b5v3KVfmkhTFEKiG45Hgn5hxJueuyd9S1AsP0SfmHbhTiZd!1UDdgGzc937u9kj9MgQyOGWscb74a2yAztCFr18TBnKa3Ld12rXToK4UKArxKscq6NLEp5MnG4Ln!vf//u+0MsLa8n8eQOTDc
X-Complaints-To: abuse@westnet.com.au
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1878
 by: Andrew Poulos - Fri, 7 May 2021 01:07 UTC

On 7/05/2021 7:40 am, Thomas 'PointedEars' Lahn wrote:
> Andrew Poulos wrote:
>
>> A few questions about styling a meter element. Is there a way to :
>>
>> - set the various colours (optimal, low, high)
>> - have it vertical
>> - animate a change in the value
>> ?
>
> You should (have) do(ne) this:
>
> <https://www.google.com/search?q=style+meter+element>

I did try that but with MDN warnings on things like ::webkit-meter-bar
"This feature is non-standard and is not on a standards track. Do not
use it..." I didn't know if it was practical to look for a CSS solution.

Andrew Poulos

Re: meter element

<652a1151-1a97a248-1ca80c6c.tiberius@james.kirk.invalid>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=80&group=comp.infosystems.www.authoring.stylesheets#80

  copy link   Newsgroups: comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!james.kirk.invalid!.POSTED!not-for-mail
From: noneya.i...@gmail.com (James Kirk)
Newsgroups: comp.infosystems.www.authoring.stylesheets
Subject: Re: meter element
Date: Thu, 06 May 2021 21:45:54 -0400
Organization: Time Travel Tracing
Lines: 96
Message-ID: <652a1151-1a97a248-1ca80c6c.tiberius@james.kirk.invalid>
References: <WJKdnbmVf9P70w79nZ2dnUU7-RHNnZ2d@westnet.com.au>
<2076630.Mh6RI2rZIc@PointedEars.de>
<45ydnWK-J_tIDwn9nZ2dnUU7-RPNnZ2d@westnet.com.au>
Reply-To: ": James Kirk" <noneya.invalid+knobknocker@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: james.kirk.invalid; posting-host="1fa259e591cb724a524190d6e091298c";
logging-data="17252"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18x3P0u+ZsJ9xePaaIMW/1o49QHYnAtuCI="
User-Agent: Unicorn named Ellie
Cancel-Lock: sha1:CBFjjtWwLlouZjpO00vPM4GUDw4=
X-Rot13: This message MAY contains rot13 encoded text that sensitive people
may find offense, decode at your own peril.
In-Reply-To: <45ydnWK-J_tIDwn9nZ2dnUU7-RPNnZ2d@westnet.com.au>
X-Newsreader: Microsoft Windows Dead Mail Original Imitation Prototype
Content-Language: en-US
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QIHFgQpyK6L9AAAAEJQTFRFAAAAQAAAQEAAQEBAQECAgEBAgECAgIBAgICAgIC/gL+/v4BAv4CAv4C/v7+Av7+/v7//v////7+A/7+///+/////CTpitwAAAAF0Uk5TAEDm2GYAAAABYktHRBXl2PmjAAAB6klEQVRIx61Vi3KEIAz0pJZYUwIi//+r3QT78sTKTDM3N6e3y+5iIsPwT+UcdeHJOSd9Ao6kVyB2CqQkfQKpSI+AS6lDQh2VDoIzR6jYQVCBuymo7tH9EF+OUrwnAfxLFSjp/aajuZTbnujbUYop/dWz7P1kDyFWS4lYLuETyrs5VUKMSTyHthvFe/ZwFD8tRQ68SNvOxFlGh8hFl48oCoF9aOC9l23jB6n5GMHBR1gZfI7nvG2bf0hUL2YLNCWwf3Ilnip+Q2cX86+G8FM9MU/PgcmHDIaMZG6wflGKegLhyZQn4oxCBKlxTaHGBmHxz45ECRkRFFpX1+9UCQdPzHikRtBRiD8rzacEQjbFh5HKjixSzJco/kgQomyM5THvAoKFxXaLzgj40wj2FNSI2NW7pdbM/ritlbBOLu3rm0EnshOO3cHIAEZAIwG949ewvOqFX467ahIIsfJIltN2bF1XngQa/qxhWQkBEUTXzJWAGzCFKeKzaVDGpJllNwR84IlEiM/nIWRG54ERKrwSIDE3Jg57O7ooiVetYIX5o9gca2KcOzAUdnRtbEhcvMKAp/CrriTsoCKM2JenPAwzbr5dKWgYxUr+PoEvCCfq1DyBIf4iPYc8NQ5naUlQeynqJLRf9Z2E4cb58QHWYi4v2VmiigAAAABJRU5ErkJggg==
X-Operating-System: Windows 3.0
X-Content-Warning: The content of this message MAY contain controversial
topics and SHOULD NOT be viewed by: sensitive individuals, malcontents,
individuals under the age of 120, troglodytes, judgmental individuals,
opinionated individuals or multi-cellular organisms.
 by: James Kirk - Fri, 7 May 2021 01:45 UTC

In Message: <45ydnWK-J_tIDwn9nZ2dnUU7-RPNnZ2d@westnet.com.au>
Andrew Poulos <ap_prog@hotmail.com> wrote:

[snip]

> I did try that but with MDN warnings on things like
> ::webkit-meter-bar "This feature is non-standard and is not on a
> standards track. Do not use it..." I didn't know if it was practical
> to look for a CSS solution.

@supports selector(::-webkit-meter-bar)…
@supports selector(::-moz-meter-bar)…

:root {
--bar: gold;
--opm: brown;
--sub-opm: purple;
--sub-sub-opm: blue;
}

meter {
width: 8em;
height: 1em;
}

@supports selector(::-webkit-meter-bar) {
meter::-webkit-meter-bar {
background: var(--bar);
}

meter::-webkit-meter-inner-element {

}

meter::-webkit-meter-optimum-value {
background-color: var(--opm);
}

meter::-webkit-meter-suboptimum-value {
background: none;
background-color: var(--sub-opm);
}

meter::-webkit-meter-even-less-good-value {
background-color: var(--sub-sub-opm);
}

}
@supports selector(::-moz-meter-bar) {
div {
width: -moz-fit-content;
}

meter {
background: none;
box-shadow: 0 2px 3px rgba(0,0,0,0.2) inset;
border-radius: 1em;
background-color: var(--bar);
}

meter::-moz-meter-bar {
border-radius: 1em;
}

meter:-moz-meter-optimum::-moz-meter-bar {
background: none;
background-color: var(--opm);
}

meter:-moz-meter-sub-optimum::-moz-meter-bar {
background: none;
background-color: var(--sub-opm);
}

meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
background: none;
background-color: var(--sub-sub-opm);
}

}

<meter min="0" max="100" low="25" high="75" optimum="100"
value="20"></meter>

<meter min="0" max="100" low="25" high="75" optimum="100"
value="50"></meter>

<meter min="0" max="100" low="25" high="75" optimum="100"
value="80"></meter>

--
J𝕒𝕞𝕖𝕤 𝕂𝕚𝕣𝕜

Re: meter element

<108038982.nniJfEyVGO@PointedEars.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=81&group=comp.infosystems.www.authoring.stylesheets#81

  copy link   Newsgroups: comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mb-net.net!open-news-network.org!.POSTED.178.197.213.27!not-for-mail
From: PointedE...@web.de (Thomas 'PointedEars' Lahn)
Newsgroups: comp.infosystems.www.authoring.stylesheets
Subject: Re: meter element
Date: Sat, 08 May 2021 03:41:13 +0200
Organization: PointedEars Software (PES)
Lines: 67
Message-ID: <108038982.nniJfEyVGO@PointedEars.de>
References: <WJKdnbmVf9P70w79nZ2dnUU7-RHNnZ2d@westnet.com.au> <2076630.Mh6RI2rZIc@PointedEars.de> <45ydnWK-J_tIDwn9nZ2dnUU7-RPNnZ2d@westnet.com.au>
Reply-To: Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8Bit
Injection-Info: gwaiyur.mb-net.net; posting-host="178.197.213.27";
logging-data="29569"; mail-complaints-to="abuse@open-news-network.org"
User-Agent: KNode/4.14.10
Cancel-Lock: sha1:qXzpfigN6twIeKViki7Bb3txP9o=
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGF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D%K}\2jz"QQP6Uqr],./"?;=4v
X-User-ID: U2FsdGVkX1/2kzxn/Efxg45pXxKOPJpfXdlyMHCh8dohSnACbl7eFw==
 by: Thomas 'Pointed - Sat, 8 May 2021 01:41 UTC

Andrew Poulos wrote:

> On 7/05/2021 7:40 am, Thomas 'PointedEars' Lahn wrote:
>> Andrew Poulos wrote:
>>> A few questions about styling a meter element. Is there a way to :
>>>
>>> - set the various colours (optimal, low, high)
>>> - have it vertical
>>> - animate a change in the value
>>> ?
>>
>> You should (have) do(ne) this:
>>
>> <https://www.google.com/search?q=style+meter+element>
>
> I did try that but with MDN warnings on things like ::webkit-meter-bar
> "This feature is non-standard and is not on a standards track. Do not
> use it..." I didn't know if it was practical to look for a CSS solution.

I found this as the first hit:

<https://css-tricks.com/html5-meter-element/>

Note that it was last updated in 2015, but *still* works in Chromium
“89.0.4389.114 (Developer Build) built on Debian 10.9, running on Debian
10.0 (64-bit)”.

Note also that it says:

| Do not use “meter” element to…
|
| 1. indicate the progress completion of a task (use “progress” element
| instead).
| 2. represent a scalar value of an arbitrary range — for example,
| to report a weight, or height of a person.

The caveat you read is sound. Whether you should do this depends on your
use-case.

However, it should also be noted that WebCore and its forks have become
the dominant layout engines (with “Chrome” at a world-wide market share of
≈ 60 % across *all* platforms)¹, and features that were first introduced
by WebKit for WebCore, like text shadows, gradients, transforms,
transitions, and animations, have become part of the CSS standard.

In that regard it is quite instructive to compare the current CSS standard
against old entries in the WebKit blog. Formerly available only via the
Internet Archive, it appears to have been fully restored to the redesigned
WebKit site:

<https://webkit.org/blog/>

For example:

<https://webkit.org/blog/386/3d-transforms/>

(on 2009-07-16) vs. (now)

<https://developer.mozilla.org/en-US/docs/Web/CSS/transform>

___________
¹ <https://gs.statcounter.com/browser-market-share#monthly-202004-202104>
--
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Re: meter element

<UqqdncdBrJmiYgj9nZ2dnUU7-XPNnZ2d@westnet.com.au>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=82&group=comp.infosystems.www.authoring.stylesheets#82

  copy link   Newsgroups: comp.infosystems.www.authoring.stylesheets
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.westnet.com.au!news.westnet.com.au.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 07 May 2021 22:02:23 -0500
Subject: Re: meter element
Newsgroups: comp.infosystems.www.authoring.stylesheets
References: <WJKdnbmVf9P70w79nZ2dnUU7-RHNnZ2d@westnet.com.au>
<2076630.Mh6RI2rZIc@PointedEars.de>
<45ydnWK-J_tIDwn9nZ2dnUU7-RPNnZ2d@westnet.com.au>
<108038982.nniJfEyVGO@PointedEars.de>
From: ap_p...@hotmail.com (Andrew Poulos)
Date: Sat, 8 May 2021 13:02:22 +1000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <108038982.nniJfEyVGO@PointedEars.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-AU
Content-Transfer-Encoding: 8bit
Message-ID: <UqqdncdBrJmiYgj9nZ2dnUU7-XPNnZ2d@westnet.com.au>
Lines: 78
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 60.242.182.53
X-Trace: sv3-E0Apra3Fwty1EydqXGxtFwbcp1DgGHOGaewV37P/rjgR6nO4TH7neR9F68/6MVuxEffZSWcduHg1Pk9!BJZuJb6ayTi/fdKPxP2NGySNDTvseBjFaZyh62fQDkSeEqLjOuPWYIhZpxIVqjUImfCKxoEnt2Uc!9mjckluPenP0BMXVpg4s
X-Complaints-To: abuse@westnet.com.au
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4147
 by: Andrew Poulos - Sat, 8 May 2021 03:02 UTC

On 8/05/2021 11:41 am, Thomas 'PointedEars' Lahn wrote:
> Andrew Poulos wrote:
>
>> On 7/05/2021 7:40 am, Thomas 'PointedEars' Lahn wrote:
>>> Andrew Poulos wrote:
>>>> A few questions about styling a meter element. Is there a way to :
>>>>
>>>> - set the various colours (optimal, low, high)
>>>> - have it vertical
>>>> - animate a change in the value
>>>> ?
>>>
>>> You should (have) do(ne) this:
>>>
>>> <https://www.google.com/search?q=style+meter+element>
>>
>> I did try that but with MDN warnings on things like ::webkit-meter-bar
>> "This feature is non-standard and is not on a standards track. Do not
>> use it..." I didn't know if it was practical to look for a CSS solution.
>
> I found this as the first hit:
>
> <https://css-tricks.com/html5-meter-element/>
>
> Note that it was last updated in 2015, but *still* works in Chromium
> “89.0.4389.114 (Developer Build) built on Debian 10.9, running on Debian
> 10.0 (64-bit)”.

Yes, I saw it and that cases 5 and 6 in experiment 1 don't seem to do
anything so it didn't fill me with confidence.

> Note also that it says:
>
> | Do not use “meter” element to…
> |
> | 1. indicate the progress completion of a task (use “progress” element
> | instead).
> | 2. represent a scalar value of an arbitrary range — for example,
> | to report a weight, or height of a person.
>
> The caveat you read is sound. Whether you should do this depends on your
> use-case.

The things I need a meter to do (be predictable, be vertical, work
consistently across browsers, have all aspects readily style-able and
animate-able) means I will probably return to coding one using DIVs.

Though I do like the idea of a meter bar changing it's colour based on
whether the value is high, low, or optimal.

> However, it should also be noted that WebCore and its forks have become
> the dominant layout engines (with “Chrome” at a world-wide market share of
> ≈ 60 % across *all* platforms)¹, and features that were first introduced
> by WebKit for WebCore, like text shadows, gradients, transforms,
> transitions, and animations, have become part of the CSS standard.
>
> In that regard it is quite instructive to compare the current CSS standard
> against old entries in the WebKit blog. Formerly available only via the
> Internet Archive, it appears to have been fully restored to the redesigned
> WebKit site:
>
> <https://webkit.org/blog/>
>
> For example:
>
> <https://webkit.org/blog/386/3d-transforms/>
>
> (on 2009-07-16) vs. (now)
>
> <https://developer.mozilla.org/en-US/docs/Web/CSS/transform>
> ___________
> ¹ <https://gs.statcounter.com/browser-market-share#monthly-202004-202104>

Interesting.

Andrew Poulos

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor