diff --git a/layout/style/generate-stylestructlist.py b/layout/style/generate-stylestructlist.py index 551f49ebbca7..e9fa418ebc78 100755 --- a/layout/style/generate-stylestructlist.py +++ b/layout/style/generate-stylestructlist.py @@ -38,7 +38,7 @@ STYLE_STRUCTS = [("INHERITED",) + x for x in [ ("Background", "nullptr", NORMAL_DEP + LENGTH_DEP + COLOR_DEP), ("Position", "nullptr", NORMAL_DEP + LENGTH_DEP), ("TextReset", "nullptr", NORMAL_DEP + LENGTH_DEP + COLOR_DEP), - ("Display", "nullptr", NORMAL_DEP), + ("Display", "nullptr", NORMAL_DEP + LENGTH_DEP), ("Content", "nullptr", NORMAL_DEP + LENGTH_DEP), ("UIReset", "nullptr", NORMAL_DEP), ("Table", "nullptr", NORMAL_DEP),