- From: Jukka K. Korpela <jukkakk@gmail.com>
- Date: Sat, 17 Feb 2024 21:35:52 +0200
- To: Efrem Mallach <emallach@verizon.net>
- Cc: Chuck Houpt <chuck@habilis.net>, W3C WWW Validator <www-validator@w3.org>
I can confirm that this indeed triggers the error message ”Property translate doesn't exist”, which should be read as meaning “the thing that this checker currently treats as the specification for CSS does not contain a property named ˇtranslate’”. Apparently, you are supposed to use the ˇtransform’ property now, with a value using the translate() function, but so far, the only impact is that if you keep using the old style, the CSS checker complains. In the long run, browsers might stop supporting the ˇtranslate’ property. Yucca la 17. helmik. 2024 klo 19.46 Efrem Mallach (emallach@verizon.net) kirjoitti: > > Here's a short page that doesn't bury the issue in other stuff. Same error message. It runs properly, with the aqua square moved 50px down and 50px to the right, in current versions of Firefox, Chrome, and Safari (tested under Mac OS 13.4). It didn't work in Opera, or in Edge under Windows 10 via emulation. Par for the course with relatively recent additions to CSS. The older Transform option works everywhere and validates as correct, but this should validate too. > > <!doctype html> > <html lang="en"> > <head> > <meta charset="UTF-8"> > <title>Example of Translate property</title> > <style> > div {width:100px; height:100px; background-color:aqua; > translate:50px 50px;} > </style> > </head> > > <body> > <div></div> > </body> > </html> > > Efrem > > > On Feb 17, 2024, at 7:51 AM, Chuck Houpt <chuck@habilis.net> wrote: > > > > > > > >> On Feb 16, 2024, at 12:27 PM, Efrem Mallach <emallach@verizon.net> wrote: > >> > >> My CSS got an error message "CSS; translate: Property translate doesn't exist." > > > > Could you post a link to the page or a snippet of sample code that elicits the error message. It's hard to diagnose the problem without seeing the code. > > > > - Chuck > > >
Received on Saturday, 17 February 2024 19:36:13 UTC