tor-browser

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

box-sizing.mjs (1043B)


      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 http://mozilla.org/MPL/2.0/. */
      4 
      5 // InactivePropertyHelper `box-sizing` test cases.
      6 export default [
      7  {
      8    info: "box-sizing is inactive on inline element",
      9    property: "box-sizing",
     10    tagName: "span",
     11    rules: ["span { box-sizing: border-box; }"],
     12    isActive: false,
     13  },
     14  {
     15    info: "box-sizing is active on block element",
     16    property: "box-sizing",
     17    tagName: "div",
     18    rules: ["div { box-sizing: border-box; }"],
     19    isActive: true,
     20  },
     21  {
     22    info: "box-sizing is active on inline-block element",
     23    property: "box-sizing",
     24    tagName: "span",
     25    rules: ["span { display: inline-block; box-sizing: border-box; }"],
     26    isActive: true,
     27  },
     28  {
     29    info: "box-sizing is active on replaced element",
     30    property: "box-sizing",
     31    tagName: "input",
     32    rules: ["input { display: inline; box-sizing: border-box; }"],
     33    isActive: true,
     34  },
     35 ];