tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

inherited_table.mako.rs (1472B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
      4 
      5 <%namespace name="helpers" file="/helpers.mako.rs" />
      6 
      7 ${helpers.single_keyword(
      8    "border-collapse",
      9    "separate collapse",
     10    engines="gecko servo",
     11    gecko_enum_prefix="StyleBorderCollapse",
     12    animation_type="discrete",
     13    spec="https://drafts.csswg.org/css-tables/#propdef-border-collapse",
     14    servo_restyle_damage = "rebuild_box",
     15    affects="layout",
     16 )}
     17 
     18 ${helpers.single_keyword(
     19    "empty-cells",
     20    "show hide",
     21    engines="gecko servo",
     22    gecko_enum_prefix="StyleEmptyCells",
     23    animation_type="discrete",
     24    spec="https://drafts.csswg.org/css-tables/#propdef-empty-cells",
     25    servo_restyle_damage="rebuild_box",
     26    affects="paint",
     27 )}
     28 
     29 ${helpers.predefined_type(
     30    "caption-side",
     31    "table::CaptionSide",
     32    "computed::table::CaptionSide::Top",
     33    engines="gecko servo",
     34    animation_type="discrete",
     35    spec="https://drafts.csswg.org/css-tables/#propdef-caption-side",
     36    servo_restyle_damage="rebuild_box",
     37    affects="layout",
     38 )}
     39 
     40 ${helpers.predefined_type(
     41    "border-spacing",
     42    "BorderSpacing",
     43    "computed::BorderSpacing::zero()",
     44    engines="gecko servo",
     45    boxed=True,
     46    spec="https://drafts.csswg.org/css-tables/#propdef-border-spacing",
     47    servo_restyle_damage="rebuild_box",
     48    affects="layout",
     49 )}