<commit_before>{
  "description": [
      "Extensions of CSS parsing for common browser specific workarounds.",
      "These are not used by default unless explicitly requested."
      ],

  "inherits": ["css21-defs.json"],

  "types": [

    { "key": "background",
      "signature": "[ [ <bg-image> || [<bg-position> [/ <bg-size>]? | / <bg-size>] || <repeat-style> || <attachment> || <bg-origin> ] , ]* ['background-color' || <bg-image> || [<bg-position> [/ <bg-size>]? | / <bg-size>] || <repeat-style> || <attachment> || <bg-origin>]",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background",
      "dom2property": "background"
    },

    { "key": "background-attachment",
      "signature": "<attachment> [ , <attachment> ]*",
      "default": "scroll",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#background-attachment",
      "dom2property": "backgroundAttachment"
    },

    { "key": "background-clip",
      "signature": "[border-box | padding-box] [, [border-box | padding-box]]*",
      "default": "border-box",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background-clip",
      "dom2property": "backgroundClip",
      "comment": "affects clipping but does not allow it to exceed bounds of box"
    },

    { "key": "background-image",
      "signature": "<bg-image> [ , <bg-image> ]*",
      "default": "none",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background-image",
      "dom2property": "backgroundImage"
    },

    { "key": "background-origin",
      "signature": "auto | <bg-origin> [ , <bg-origin> ]*",
      "default": "auto",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#background-origin",
      "dom2property": "backgroundOrigin",
      "comment": "changed signature since publish sig does not admit its default value"
    },

    { "key": "background-position",
      "signature": "<bg-position> [ , <bg-position> ]*",
      "default": "0% 0%",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background-position",
      "dom2property": "backgroundPosition"
    },

    { "key": "background-repeat",
      "signature": "<repeat-style> [ , <repeat-style> ]*",
      "default": "repeat",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background-repeat",
      "dom2property": "backgroundRepeat"
    },

    { "key": "background-size",
      "signature": "<bg-size> [ , <bg-size> ]*",
      "default": "auto",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#background-size",
      "dom2property": "backgroundSize"
    },

    { "key": "border-radius",
      "signature": "<length> <length>?",
      "default": "0",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2002/WD-css3-border-20021107/#the-border-radius",
      "dom2property": "borderRadius"
    },
    { "key": "-moz-border-radius",
      "as": "border-radius",
      "source": "http://www.the-art-of-web.com/css/border-radius/",
      "dom2property": "MozBorderRadius" },
    { "key": "-webkit-border-radius",
      "as": "border-radius",
      "source": "http://www.the-art-of-web.com/css/border-radius/",
      "dom2property": "WebkitBorderRadius" },

    { "key": "content",
      "signature": " \"\" | \" \" | \".\" ",
      "default": " \"\" ",
      "description": [
          "Allow space and dot since YUI frequently uses those.",
          "Allow the empty string since it is the default value."
          ]
    },

    { "key": "cursor",
      "signature": "[ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress | all-scroll | col-resize | hand | no-drop | not-allowed | row-resize | vertical-text ] ] | inherit",
      "default": "auto",
      "appliesTo": "*",
      "inherited": true,
      "mediaGroups": ["visual", "interactive"],
      "dom2property": "cursor",
      "source": "http://www.quirksmode.org/css/cursor.html" },

    { "key": "display",
      "signature": "inline | block | list-item | run-in | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | none | inherit | -moz-inline-box | -moz-inline-stack",
      "default": "inline",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": "*",
      "dom2property": "display" },

    { "key": "filter",
      "signature": "[ <ie-filter-opacity> | <prog-id> ]+",
      "default": null,
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "dom2property": "filter",
      "source":
          "http://msdn2.microsoft.com/en-us/library/ms532853%28VS.85%29.aspx"
    },
    { "key": "<ie-filter-opacity>",
      "signature": "alpha(opacity=[<percentage:0,100> | <number:0,100>])",
      "default": "100",
      "source": "http://msdn2.microsoft.com/en-us/library/ms532910(VS.85).aspx"
    },

    { "key": "font-stretch",
      "signature": "normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
      "default": "normal",
      "appliesTo": "*",
      "inherited": true,
      "mediaGroups": ["visual"],
      "dom2property": "fontStretch",
      "source": "http://www.w3.org/TR/css3-fonts/#font-stretch"
    },

    { "key": "opacity",
      "signature": "<alphavalue> | inherit",
      "default": "1",<commit_msg>allow min-height:auto, etc. http://codereview.appspot.com/1030043<commit_after>{
  "description": [
      "Extensions of CSS parsing for common browser specific workarounds.",
      "These are not used by default unless explicitly requested."
      ],

  "inherits": ["css21-defs.json"],

  "types": [

    { "key": "background",
      "signature": "[ [ <bg-image> || [<bg-position> [/ <bg-size>]? | / <bg-size>] || <repeat-style> || <attachment> || <bg-origin> ] , ]* ['background-color' || <bg-image> || [<bg-position> [/ <bg-size>]? | / <bg-size>] || <repeat-style> || <attachment> || <bg-origin>]",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background",
      "dom2property": "background"
    },

    { "key": "background-attachment",
      "signature": "<attachment> [ , <attachment> ]*",
      "default": "scroll",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#background-attachment",
      "dom2property": "backgroundAttachment"
    },

    { "key": "background-clip",
      "signature": "[border-box | padding-box] [, [border-box | padding-box]]*",
      "default": "border-box",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background-clip",
      "dom2property": "backgroundClip",
      "comment": "affects clipping but does not allow it to exceed bounds of box"
    },

    { "key": "background-image",
      "signature": "<bg-image> [ , <bg-image> ]*",
      "default": "none",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background-image",
      "dom2property": "backgroundImage"
    },

    { "key": "background-origin",
      "signature": "auto | <bg-origin> [ , <bg-origin> ]*",
      "default": "auto",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#background-origin",
      "dom2property": "backgroundOrigin",
      "comment": "changed signature since publish sig does not admit its default value"
    },

    { "key": "background-position",
      "signature": "<bg-position> [ , <bg-position> ]*",
      "default": "0% 0%",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background-position",
      "dom2property": "backgroundPosition"
    },

    { "key": "background-repeat",
      "signature": "<repeat-style> [ , <repeat-style> ]*",
      "default": "repeat",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background-repeat",
      "dom2property": "backgroundRepeat"
    },

    { "key": "background-size",
      "signature": "<bg-size> [ , <bg-size> ]*",
      "default": "auto",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2009/CR-css3-background-20091217/#background-size",
      "dom2property": "backgroundSize"
    },

    { "key": "border-radius",
      "signature": "<length> <length>?",
      "default": "0",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "source": "http://www.w3.org/TR/2002/WD-css3-border-20021107/#the-border-radius",
      "dom2property": "borderRadius"
    },
    { "key": "-moz-border-radius",
      "as": "border-radius",
      "source": "http://www.the-art-of-web.com/css/border-radius/",
      "dom2property": "MozBorderRadius" },
    { "key": "-webkit-border-radius",
      "as": "border-radius",
      "source": "http://www.the-art-of-web.com/css/border-radius/",
      "dom2property": "WebkitBorderRadius" },

    { "key": "content",
      "signature": " \"\" | \" \" | \".\" ",
      "default": " \"\" ",
      "description": [
          "Allow space and dot since YUI frequently uses those.",
          "Allow the empty string since it is the default value."
          ]
    },

    { "key": "cursor",
      "signature": "[ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress | all-scroll | col-resize | hand | no-drop | not-allowed | row-resize | vertical-text ] ] | inherit",
      "default": "auto",
      "appliesTo": "*",
      "inherited": true,
      "mediaGroups": ["visual", "interactive"],
      "dom2property": "cursor",
      "source": "http://www.quirksmode.org/css/cursor.html" },

    { "key": "display",
      "signature": "inline | block | list-item | run-in | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | none | inherit | -moz-inline-box | -moz-inline-stack",
      "default": "inline",
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": "*",
      "dom2property": "display" },

    { "key": "filter",
      "signature": "[ <ie-filter-opacity> | <prog-id> ]+",
      "default": null,
      "appliesTo": "*",
      "inherited": false,
      "mediaGroups": ["visual"],
      "dom2property": "filter",
      "source":
          "http://msdn2.microsoft.com/en-us/library/ms532853%28VS.85%29.aspx"
    },
    { "key": "<ie-filter-opacity>",
      "signature": "alpha(opacity=[<percentage:0,100> | <number:0,100>])",
      "default": "100",
      "source": "http://msdn2.microsoft.com/en-us/library/ms532910(VS.85).aspx"
    },

    { "key": "font-stretch",
      "signature": "normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
      "default": "normal",
      "appliesTo": "*",
      "inherited": true,
      "mediaGroups": ["visual"],
      "dom2property": "fontStretch",
      "source": "http://www.w3.org/TR/css3-fonts/#font-stretch"
    },

    { "key": "max-height",
      "signature": "<length:0,> | <percentage:0,> | none | inherit | auto",
      "default": "none",
      "appliesTo": { "exclude": [ "col", "colgroup"] },
      "appliesTo-comment": "All elements but non-replaced inline elements, table columns, and column groups",
      "inherited": false,
      "mediaGroups": ["visual"],
      "description": "the value 'auto' is a quirk specific to IE7",
      "dom2property": "maxHeight" },

    { "key": "max-width",
      "signature": "<length:0,> | <percentage:0,> | none | inherit | auto",
      "default": "none",
      "appliesTo": { "exclude": [ "tbody", "thead", "tfoot", "row", "tr"] },
      "inherited": false,
      "mediaGroups": ["visual"],
      "description": "the value 'auto' is a quirk specific to IE7",
      "dom2property": "maxWidth" },

    { "key": "min-height",
      "signature": "<length:0,> | <percentage:0,> | inherit | auto",
      "default": "0",
      "appliesTo": { "include": ["inline", "table-column", "column-group"] },
      "inherited": false,
      "mediaGroups": ["visual"],
      "description": "the value 'auto' is a quirk specific to IE7",
      "dom2property": "minHeight" },

    { "key": "min-width",
      "signature": "<length:0,> | <percentage:0,> | inherit | auto",
      "default": "0",
      "appliesTo": { "include": ["inline", "table-row", "row-group"] },
      "inherited": false,
      "mediaGroups": ["visual"],
      "description": "the value 'auto' is a quirk specific to IE7",
      "dom2property": "minWidth" },

    { "key": "opacity",
      "signature": "<alphavalue> | inherit",
      "default": "1",
{'fraction_non_alphanumeric': 0.2141907494227136, 'fraction_numerical': 0.027219928626408228, 'mean_word_length': 2.860615883306321, 'pattern_counts': {'":': 289, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 26, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5446765', 'n_tokens_mistral': 4989, 'n_tokens_neox': 4695, 'n_words': 887}