tor-browser

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

counters.mako.rs (1591B)


      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.predefined_type(
      8    "content",
      9    "Content",
     10    "computed::Content::normal()",
     11    engines="gecko servo",
     12    initial_specified_value="specified::Content::normal()",
     13    animation_type="discrete",
     14    spec="https://drafts.csswg.org/css-content/#propdef-content",
     15    servo_restyle_damage="rebuild_box",
     16    affects="layout",
     17 )}
     18 
     19 ${helpers.predefined_type(
     20    "counter-increment",
     21    "CounterIncrement",
     22    engines="gecko servo",
     23    servo_pref="layout.unimplemented",
     24    initial_value="Default::default()",
     25    animation_type="discrete",
     26    spec="https://drafts.csswg.org/css-lists/#propdef-counter-increment",
     27    servo_restyle_damage="rebuild_box",
     28    affects="layout",
     29 )}
     30 
     31 ${helpers.predefined_type(
     32    "counter-reset",
     33    "CounterReset",
     34    engines="gecko servo",
     35    servo_pref="layout.unimplemented",
     36    initial_value="Default::default()",
     37    animation_type="discrete",
     38    spec="https://drafts.csswg.org/css-lists-3/#propdef-counter-reset",
     39    servo_restyle_damage="rebuild_box",
     40    affects="layout",
     41 )}
     42 
     43 ${helpers.predefined_type(
     44    "counter-set",
     45    "CounterSet",
     46    engines="gecko",
     47    initial_value="Default::default()",
     48    animation_type="discrete",
     49    spec="https://drafts.csswg.org/css-lists-3/#propdef-counter-set",
     50    servo_restyle_damage="rebuild_box",
     51    affects="layout",
     52 )}