瀏覽代碼

LibWeb: Mark all text-decoration* CSS properties as not affecting layout

Andreas Kling 3 年之前
父節點
當前提交
aaed7b11f8
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Userland/Libraries/LibWeb/CSS/Properties.json

+ 4 - 0
Userland/Libraries/LibWeb/CSS/Properties.json

@@ -1228,6 +1228,7 @@
     ]
   },
   "text-decoration": {
+    "affects-layout": false,
     "inherited": false,
     "initial": "none",
     "longhands": [
@@ -1238,6 +1239,7 @@
     ]
   },
   "text-decoration-color": {
+    "affects-layout": false,
     "inherited": false,
     "initial": "currentcolor",
     "valid-types": [
@@ -1258,6 +1260,7 @@
     ]
   },
   "text-decoration-style": {
+    "affects-layout": false,
     "inherited": false,
     "initial": "solid",
     "valid-identifiers": [
@@ -1269,6 +1272,7 @@
     ]
   },
   "text-decoration-thickness": {
+    "affects-layout": false,
     "inherited": false,
     "initial": "auto",
     "valid-types": [