? Error CSS font-family: system-ui;
? Error CSS font-family: system-ui;
Hello
Recently, a CSS validation test by W3C (tested with cmsimple-xh.org) shows me the error Value Error 8 times: font-family system-ui is not a font-family value: system-ui
Do you know why ? This corresponds to the 8 x @font-face defined in /assets/css/core.css
Recently, a CSS validation test by W3C (tested with cmsimple-xh.org) shows me the error Value Error 8 times: font-family system-ui is not a font-family value: system-ui
Do you know why ? This corresponds to the 8 x @font-face defined in /assets/css/core.css
Re: ? Error CSS font-family: system-ui;
Hm, this is indeed a problem - but not of CMSimple_XH but of the validator.
The system-ui font specification is valid and works in all reasonably modern browsers.
There are several major websites that use system-ui just like this.
I guess you don't have to worry about that.
The system-ui font specification is valid and works in all reasonably modern browsers.
There are several major websites that use system-ui just like this.
I guess you don't have to worry about that.
Re: ? Error CSS font-family: system-ui;
Yes, because after browsing the web, the property is clearly indicated as valid. And 1 or 2 months ago, these errors did not appear.
Re: ? Error CSS font-family: system-ui;
Hm, but what about the parse errors?
Christoph M. Becker – Plugins for CMSimple_XH
Re: ? Error CSS font-family: system-ui;
I can't explain that to myself at the moment.
But I saw that the core.css is minified on this page (in xhstyles.css). Indeed, there are those bugs in there.
Olaf has to give some information.
The errors (with the semicolon) are not present in the original core.css (1.7.4).
Re: ? Error CSS font-family: system-ui;
Es ist noch eine 1.7.2.
Ich hoffe auf den Winter und die 1.7.5.
Gruß Olaf, Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Re: ? Error CSS font-family: system-ui;
Das ist ja nicht weiter tragisch.
Die Frage ist, wie hast du die Minifizierung der core.css bzw. der xhstyles.css gemacht?
Ich vermute stark, dass dabei die Parse-Fehler entstehen bzw. entstanden.
Re: ? Error CSS font-family: system-ui;
Das glaube ich nicht wirklich, aber möglich ist natürlich alles.
Ohne jetzt nachzusehen (nachsehen zu können) vermute ich, damit: https://olaf.penschke.net/?CMSimple_XH/ ... d-Versuche
Gruß Olaf, Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Re: ? Error CSS font-family: system-ui;
Also:
Es ist genau an zwei Stellen passiert, dass aus xxx !important; -> xxx;!important geworden ist. (die anderen Fehler sind Folgen davon)
Glücklicherweise betreffen beide nur die PD-Tabs, sodass die Darstellung der Website überhaupt nicht betroffen ist.
Die automatische Minifizierung hat also offensichtlich noch ihre Schwächen. Auch bei CnC sind solche (seltenen) Fälle aufgetreten.
Bei dieser Gelegenheit fällt mir ein:
War/Ist das Laden der Core-Styles im Frontend überhaupt nötig?
War das nicht schonmal im Gespräch?
Es ist genau an zwei Stellen passiert, dass aus xxx !important; -> xxx;!important geworden ist. (die anderen Fehler sind Folgen davon)
Glücklicherweise betreffen beide nur die PD-Tabs, sodass die Darstellung der Website überhaupt nicht betroffen ist.
Die automatische Minifizierung hat also offensichtlich noch ihre Schwächen. Auch bei CnC sind solche (seltenen) Fälle aufgetreten.
Bei dieser Gelegenheit fällt mir ein:
War/Ist das Laden der Core-Styles im Frontend überhaupt nötig?
War das nicht schonmal im Gespräch?
Re: ? Error CSS font-family: system-ui;
Hm ich schau es mir an, wenn ich die Zeit finde
Ja, darüber hatten wir schon mal geredet.
Aber ich weiss den Stand der Dinge nicht mehr.
Wenn ich mich recht erinnere sind / waren einige Grundformatierungen im Core-Style die auch im Frontend greifen.
Gruß Olaf, Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.