[PATCH 1/1] mshtml: Enable CSS grid layout.

Arkadiusz Hiler wine at gitlab.winehq.org
Thu Jun 23 13:33:24 CDT 2022


From: Arkadiusz Hiler <ahiler at codeweavers.com>

Final Fantasy XIV launcher uses it to show login form next to the news.

Signed-off-by: Arkadiusz Hiler <ahiler at codeweavers.com>
---
 dlls/mshtml/nsembed.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index e34861b13fa..8f456b40ef2 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -540,6 +540,7 @@ static void set_preferences(void)
     set_lang(pref);
     set_bool_pref(pref, "security.warn_entering_secure", FALSE);
     set_bool_pref(pref, "security.warn_submit_insecure", FALSE);
+    set_bool_pref(pref, "layout.css.grid.enabled", TRUE);
     set_int_pref(pref, "layout.spellcheckDefault", 0);
 
     nsIPrefBranch_Release(pref);
-- 
GitLab

https://gitlab.winehq.org/wine/wine/-/merge_requests/304



More information about the wine-devel mailing list