Bug 1464782: Test the aliases, for now. r?xidorn draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Tue, 26 Jun 2018 21:03:38 +0200
changeset 811249 d8adb636cf97ffc66c79613aa933b48442f0230f
parent 811248 fac8efee41a6fcfa264c8fb9d2958ba854696944
child 811250 3b788cccc54e973775edc5353d9df493fc651d02
push id114244
push userbmo:emilio@crisal.io
push dateWed, 27 Jun 2018 09:27:25 +0000
reviewersxidorn
bugs1464782
milestone63.0a1
Bug 1464782: Test the aliases, for now. r?xidorn MozReview-Commit-ID: G9LogxmDg5T
layout/style/test/property_database.js
--- a/layout/style/test/property_database.js
+++ b/layout/style/test/property_database.js
@@ -6032,16 +6032,52 @@ var gCSSProperties = {
       "calc(-2px)",
       "calc(50%)",
       "calc(3*25px)",
       "calc(25px*3)",
       "calc(3*25px + 50%)",
     ],
     invalid_values: []
   },
+  "offset-block-start": {
+    domProp: "offsetBlockStart",
+    inherited: false,
+    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
+    logical: true,
+    get_computed: logical_box_prop_get_computed,
+    alias_for: "inset-block-start",
+    subproperties: [ "inset-block-start" ],
+  },
+  "offset-block-end": {
+    domProp: "offsetBlockEnd",
+    inherited: false,
+    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
+    logical: true,
+    get_computed: logical_box_prop_get_computed,
+    alias_for: "inset-block-end",
+    subproperties: [ "inset-block-end" ],
+  },
+  "offset-inline-start": {
+    domProp: "offsetInlineStart",
+    inherited: false,
+    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
+    logical: true,
+    get_computed: logical_box_prop_get_computed,
+    alias_for: "inset-inline-start",
+    subproperties: [ "inset-inline-start" ],
+  },
+  "offset-block-end": {
+    domProp: "offsetInlineEnd",
+    inherited: false,
+    type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
+    logical: true,
+    get_computed: logical_box_prop_get_computed,
+    alias_for: "inset-inline-end",
+    subproperties: [ "inset-inline-end" ],
+  },
   "padding-block-end": {
     domProp: "paddingBlockEnd",
     inherited: false,
     type: CSS_TYPE_LONGHAND,
     applies_to_first_letter: true,
     // No applies_to_placeholder because we have a !important rule in forms.css.
     logical: true,
     get_computed: logical_box_prop_get_computed,