Skip to content
Snippets Groups Projects
Commit 82074846 authored by Pierre Paridans's avatar Pierre Paridans
Browse files

[FIX] website: CSS properties value comparison


Due to a change between Chrome 101 and 114, the CSS Custom Property
containing custom string are now always serialized using the type of
quotes used in their declaration (ie. single quotes will be kept ;
double quotes also) which wasn't the case in previous versions of Chrome
(and still not the case in WebKitGTK 2.40.0 at least).

This doesn't impact the value itself but only comparison between the
computed value and an arbitrary one (like we do in the design-themes
test).

This commit fixes it by removing the single/double quotes in the
`assertCssVariable` test helper.

The impacted precondition was introduced in odoo/odoo@b29e17765f4e912b2dd472493b5be500b3a32c87 and
odoo/design-themes@8b377af3a71b875dfc452a14206a9a1679371000 .

closes odoo/odoo#125404

Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
parent d0e53ece
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment