Bug 1471114 part 6 - Remove unused CSS keywords. r?emilio draft
authorXidorn Quan <me@upsuper.org>
Tue, 26 Jun 2018 21:29:55 +1000
changeset 811145 65a744682fe99d8f0de4fa4b7a478e10aba0349e
parent 811144 fe9369e5cef11a6c6eaac641c185844eb45554b1
child 811146 81b66af9d2d43ab381416169bda248d4e830eb2a
child 811184 960b212b998e728f90bbf564f5899a92f65c9e0e
push id114203
push userxquan@mozilla.com
push dateWed, 27 Jun 2018 00:38:52 +0000
reviewersemilio
bugs1471114
milestone63.0a1
Bug 1471114 part 6 - Remove unused CSS keywords. r?emilio This is done with the following script: ```python #!/usr/bin/env python3 import re import subprocess LIST_FILE = "layout/style/nsCSSKeywordList.h" RE_KEYWORD = re.compile(r"\beCSSKeyword_(\w+)") rg_result = subprocess.check_output(["rg", r"eCSSKeyword_\w+"], encoding="UTF-8") to_keep = set() for item in rg_result.splitlines(): file, line = item.split(':', 1) for m in RE_KEYWORD.finditer(line): to_keep.add(m.group(1)) remaining_lines = [] RE_ITEM = re.compile(r"CSS_KEY\(.+, (\w+)\)") with open(LIST_FILE, "r") as f: for line in f: m = RE_ITEM.search(line) if m is not None and m.group(1) not in to_keep: print("Removing " + m.group(1)) continue remaining_lines.append(line) with open(LIST_FILE, "w", newline="") as f: f.writelines(remaining_lines) ``` MozReview-Commit-ID: upyTPc8984
layout/style/nsCSSKeywordList.h
--- a/layout/style/nsCSSKeywordList.h
+++ b/layout/style/nsCSSKeywordList.h
@@ -31,773 +31,303 @@
 
   ** Break these invariants and bad things will happen. **
 
  ******/
 
 // OUTPUT_CLASS=nsCSSKeywords
 // MACRO_NAME=CSS_KEY
 
-CSS_KEY(-moz-activehyperlinktext, _moz_activehyperlinktext)
-CSS_KEY(-moz-all, _moz_all)
 CSS_KEY(-moz-alt-content, _moz_alt_content)
 CSS_KEY(-moz-available, _moz_available)
 CSS_KEY(-moz-box, _moz_box)
-CSS_KEY(-moz-button, _moz_button)
-CSS_KEY(-moz-buttondefault, _moz_buttondefault)
-CSS_KEY(-moz-buttonhoverface, _moz_buttonhoverface)
-CSS_KEY(-moz-buttonhovertext, _moz_buttonhovertext)
-CSS_KEY(-moz-cellhighlight, _moz_cellhighlight)
-CSS_KEY(-moz-cellhighlighttext, _moz_cellhighlighttext)
 CSS_KEY(-moz-center, _moz_center)
-CSS_KEY(-moz-combobox, _moz_combobox)
-CSS_KEY(-moz-comboboxtext, _moz_comboboxtext)
-CSS_KEY(-moz-context-properties, _moz_context_properties)
 CSS_KEY(-moz-block-height, _moz_block_height)
 CSS_KEY(-moz-deck, _moz_deck)
-CSS_KEY(-moz-default-background-color, _moz_default_background_color)
-CSS_KEY(-moz-default-color, _moz_default_color)
-CSS_KEY(-moz-desktop, _moz_desktop)
-CSS_KEY(-moz-dialog, _moz_dialog)
-CSS_KEY(-moz-dialogtext, _moz_dialogtext)
-CSS_KEY(-moz-document, _moz_document)
-CSS_KEY(-moz-dragtargetzone, _moz_dragtargetzone)
-CSS_KEY(-moz-element, _moz_element)
-CSS_KEY(-moz-eventreerow, _moz_eventreerow)
-CSS_KEY(-moz-field, _moz_field)
-CSS_KEY(-moz-fieldtext, _moz_fieldtext)
 CSS_KEY(-moz-fit-content, _moz_fit_content)
-CSS_KEY(-moz-fixed, _moz_fixed)
 CSS_KEY(-moz-grabbing, _moz_grabbing)
 CSS_KEY(-moz-grab, _moz_grab)
 CSS_KEY(-moz-grid-group, _moz_grid_group)
 CSS_KEY(-moz-grid-line, _moz_grid_line)
 CSS_KEY(-moz-grid, _moz_grid)
 CSS_KEY(-moz-groupbox, _moz_groupbox)
-CSS_KEY(-moz-gtk-info-bar, _moz_gtk_info_bar)
-CSS_KEY(-moz-gtk-info-bar-text, _moz_gtk_info_bar_text)
 CSS_KEY(-moz-hidden-unscrollable, _moz_hidden_unscrollable)
-CSS_KEY(-moz-hyperlinktext, _moz_hyperlinktext)
-CSS_KEY(-moz-html-cellhighlight, _moz_html_cellhighlight)
-CSS_KEY(-moz-html-cellhighlighttext, _moz_html_cellhighlighttext)
-CSS_KEY(-moz-image-rect, _moz_image_rect)
-CSS_KEY(-moz-info, _moz_info)
 CSS_KEY(-moz-inline-box, _moz_inline_box)
 CSS_KEY(-moz-inline-grid, _moz_inline_grid)
 CSS_KEY(-moz-inline-stack, _moz_inline_stack)
 CSS_KEY(-moz-left, _moz_left)
-CSS_KEY(-moz-list, _moz_list)
-CSS_KEY(-moz-mac-buttonactivetext, _moz_mac_buttonactivetext)
-CSS_KEY(-moz-mac-chrome-active, _moz_mac_chrome_active)
-CSS_KEY(-moz-mac-chrome-inactive, _moz_mac_chrome_inactive)
-CSS_KEY(-moz-mac-defaultbuttontext, _moz_mac_defaultbuttontext)
-CSS_KEY(-moz-mac-focusring, _moz_mac_focusring)
-CSS_KEY(-moz-mac-fullscreen-button, _moz_mac_fullscreen_button)
-CSS_KEY(-moz-mac-menuselect, _moz_mac_menuselect)
-CSS_KEY(-moz-mac-menushadow, _moz_mac_menushadow)
-CSS_KEY(-moz-mac-menutextdisable, _moz_mac_menutextdisable)
-CSS_KEY(-moz-mac-menutextselect, _moz_mac_menutextselect)
-CSS_KEY(-moz-mac-disabledtoolbartext, _moz_mac_disabledtoolbartext)
-CSS_KEY(-moz-mac-secondaryhighlight, _moz_mac_secondaryhighlight)
-CSS_KEY(-moz-mac-menuitem, _moz_mac_menuitem)
-CSS_KEY(-moz-mac-active-menuitem, _moz_mac_active_menuitem)
-CSS_KEY(-moz-mac-menupopup, _moz_mac_menupopup)
-CSS_KEY(-moz-mac-tooltip, _moz_mac_tooltip)
 CSS_KEY(-moz-max-content, _moz_max_content)
-CSS_KEY(-moz-menuhover, _moz_menuhover)
-CSS_KEY(-moz-menuhovertext, _moz_menuhovertext)
-CSS_KEY(-moz-menubartext, _moz_menubartext)
-CSS_KEY(-moz-menubarhovertext, _moz_menubarhovertext)
 CSS_KEY(-moz-middle-with-baseline, _moz_middle_with_baseline)
 CSS_KEY(-moz-min-content, _moz_min_content)
-CSS_KEY(-moz-nativehyperlinktext, _moz_nativehyperlinktext)
 CSS_KEY(-moz-none, _moz_none)
-CSS_KEY(-moz-oddtreerow, _moz_oddtreerow)
 CSS_KEY(-moz-popup, _moz_popup)
-CSS_KEY(-moz-pre-space, _moz_pre_space)
-CSS_KEY(-moz-pull-down-menu, _moz_pull_down_menu)
 CSS_KEY(-moz-right, _moz_right)
 CSS_KEY(-moz-scrollbars-horizontal, _moz_scrollbars_horizontal)
 CSS_KEY(-moz-scrollbars-none, _moz_scrollbars_none)
 CSS_KEY(-moz-scrollbars-vertical, _moz_scrollbars_vertical)
 CSS_KEY(-moz-stack, _moz_stack)
-CSS_KEY(-moz-text, _moz_text)
-CSS_KEY(-moz-use-system-font, _moz_use_system_font)
-CSS_KEY(-moz-visitedhyperlinktext, _moz_visitedhyperlinktext)
-CSS_KEY(-moz-window, _moz_window)
-CSS_KEY(-moz-workspace, _moz_workspace)
 CSS_KEY(-moz-zoom-in, _moz_zoom_in)
 CSS_KEY(-moz-zoom-out, _moz_zoom_out)
 CSS_KEY(-webkit-box, _webkit_box)
 CSS_KEY(-webkit-flex, _webkit_flex)
 CSS_KEY(-webkit-inline-box, _webkit_inline_box)
 CSS_KEY(-webkit-inline-flex, _webkit_inline_flex)
-CSS_KEY(absolute, absolute)
-CSS_KEY(active, active)
-CSS_KEY(activeborder, activeborder)
-CSS_KEY(activecaption, activecaption)
-CSS_KEY(add, add)
 CSS_KEY(additive, additive)
 CSS_KEY(alias, alias)
 CSS_KEY(all, all)
-CSS_KEY(all-petite-caps, all_petite_caps)
 CSS_KEY(all-scroll, all_scroll)
-CSS_KEY(all-small-caps, all_small_caps)
-CSS_KEY(alpha, alpha)
-CSS_KEY(alternate, alternate)
-CSS_KEY(alternate-reverse, alternate_reverse)
-CSS_KEY(always, always)
 CSS_KEY(annotation, annotation)
-CSS_KEY(appworkspace, appworkspace)
 CSS_KEY(auto, auto)
-CSS_KEY(auto-fill, auto_fill)
-CSS_KEY(auto-fit, auto_fit)
-CSS_KEY(auto-flow, auto_flow)
-CSS_KEY(avoid, avoid)
-CSS_KEY(background, background)
-CSS_KEY(backwards, backwards)
-CSS_KEY(balance, balance)
 CSS_KEY(baseline, baseline)
-CSS_KEY(bidi-override, bidi_override)
 CSS_KEY(blink, blink)
 CSS_KEY(block, block)
-CSS_KEY(block-axis, block_axis)
 CSS_KEY(blur, blur)
-CSS_KEY(bold, bold)
-CSS_KEY(bold-fraktur, bold_fraktur)
-CSS_KEY(bold-italic, bold_italic)
-CSS_KEY(bold-sans-serif, bold_sans_serif)
-CSS_KEY(bold-script, bold_script)
-CSS_KEY(bolder, bolder)
 CSS_KEY(border-box, border_box)
-CSS_KEY(both, both)
 CSS_KEY(bottom, bottom)
-CSS_KEY(bottom-outside, bottom_outside)
-CSS_KEY(break-all, break_all)
-CSS_KEY(break-word, break_word)
 CSS_KEY(brightness, brightness)
 CSS_KEY(browser, browser)
-CSS_KEY(bullets, bullets)
-CSS_KEY(button, button)
-CSS_KEY(buttonface, buttonface)
-CSS_KEY(buttonhighlight, buttonhighlight)
-CSS_KEY(buttonshadow, buttonshadow)
-CSS_KEY(buttontext, buttontext)
-CSS_KEY(capitalize, capitalize)
-CSS_KEY(caption, caption)
-CSS_KEY(captiontext, captiontext)
 CSS_KEY(cell, cell)
 CSS_KEY(center, center)
-CSS_KEY(ch, ch)
 CSS_KEY(character-variant, character_variant)
 CSS_KEY(circle, circle)
-CSS_KEY(cjk-decimal, cjk_decimal)
 CSS_KEY(clip, clip)
-CSS_KEY(clone, clone)
 CSS_KEY(close-quote, close_quote)
 CSS_KEY(closest-corner, closest_corner)
 CSS_KEY(closest-side, closest_side)
-CSS_KEY(cm, cm)
 CSS_KEY(col-resize, col_resize)
-CSS_KEY(collapse, collapse)
-CSS_KEY(color, color)
-CSS_KEY(color-burn, color_burn)
-CSS_KEY(color-dodge, color_dodge)
 CSS_KEY(common-ligatures, common_ligatures)
 CSS_KEY(column, column)
-CSS_KEY(column-reverse, column_reverse)
-CSS_KEY(condensed, condensed)
 CSS_KEY(contain, contain)
 CSS_KEY(content, content)
 CSS_KEY(content-box, content_box)
 CSS_KEY(contents, contents)
 CSS_KEY(context-fill, context_fill)
-CSS_KEY(context-fill-opacity, context_fill_opacity)
 CSS_KEY(context-menu, context_menu)
 CSS_KEY(context-stroke, context_stroke)
-CSS_KEY(context-stroke-opacity, context_stroke_opacity)
-CSS_KEY(context-value, context_value)
-CSS_KEY(continuous, continuous)
 CSS_KEY(contrast, contrast)
 CSS_KEY(copy, copy)
 CSS_KEY(contextual, contextual)
 CSS_KEY(cover, cover)
-CSS_KEY(crop, crop)
-CSS_KEY(cross, cross)
 CSS_KEY(crosshair, crosshair)
-CSS_KEY(currentcolor, currentcolor)
-CSS_KEY(cursive, cursive)
 CSS_KEY(cyclic, cyclic)
-CSS_KEY(darken, darken)
 CSS_KEY(dashed, dashed)
 CSS_KEY(dense, dense)
-CSS_KEY(decimal, decimal)
 CSS_KEY(default, default)
-CSS_KEY(deg, deg)
 CSS_KEY(diagonal-fractions, diagonal_fractions)
-CSS_KEY(dialog, dialog)
-CSS_KEY(difference, difference)
-CSS_KEY(disabled, disabled)
-CSS_KEY(disc, disc)
 CSS_KEY(discretionary-ligatures, discretionary_ligatures)
-CSS_KEY(distribute, distribute)
 CSS_KEY(dot, dot)
 CSS_KEY(dotted, dotted)
 CSS_KEY(double, double)
 CSS_KEY(double-circle, double_circle)
-CSS_KEY(double-struck, double_struck)
-CSS_KEY(drag, drag)
 CSS_KEY(drop-shadow, drop_shadow)
 CSS_KEY(e-resize, e_resize)
 CSS_KEY(ease, ease)
 CSS_KEY(ease-in, ease_in)
 CSS_KEY(ease-in-out, ease_in_out)
 CSS_KEY(ease-out, ease_out)
-CSS_KEY(economy, economy)
-CSS_KEY(element, element)
-CSS_KEY(elements, elements)
 CSS_KEY(ellipse, ellipse)
 CSS_KEY(ellipsis, ellipsis)
-CSS_KEY(em, em)
-CSS_KEY(embed, embed)
-CSS_KEY(enabled, enabled)
 CSS_KEY(end, end)
-CSS_KEY(ex, ex)
-CSS_KEY(exact, exact)
-CSS_KEY(exclude, exclude)
-CSS_KEY(exclusion, exclusion)
-CSS_KEY(expanded, expanded)
 CSS_KEY(extends, extends)
-CSS_KEY(extra-condensed, extra_condensed)
-CSS_KEY(extra-expanded, extra_expanded)
 CSS_KEY(ew-resize, ew_resize)
-CSS_KEY(fallback, fallback)
-CSS_KEY(fantasy, fantasy)
 CSS_KEY(farthest-side, farthest_side)
 CSS_KEY(farthest-corner, farthest_corner)
 CSS_KEY(fill, fill)
 CSS_KEY(filled, filled)
 CSS_KEY(fill-box, fill_box)
-CSS_KEY(first, first)
-CSS_KEY(fit-content, fit_content)
 CSS_KEY(fixed, fixed)
 CSS_KEY(flat, flat)
 CSS_KEY(flex, flex)
 CSS_KEY(flex-end, flex_end)
 CSS_KEY(flex-start, flex_start)
-CSS_KEY(flip, flip)
 CSS_KEY(flow-root, flow_root)
-CSS_KEY(forwards, forwards)
-CSS_KEY(fraktur, fraktur)
-CSS_KEY(frames, frames)
-CSS_KEY(from-image, from_image)
 CSS_KEY(full-width, full_width)
 CSS_KEY(fullscreen, fullscreen)
 CSS_KEY(grab, grab)
 CSS_KEY(grabbing, grabbing)
-CSS_KEY(grad, grad)
 CSS_KEY(grayscale, grayscale)
-CSS_KEY(graytext, graytext)
 CSS_KEY(grid, grid)
 CSS_KEY(groove, groove)
-CSS_KEY(hard-light, hard_light)
 CSS_KEY(help, help)
 CSS_KEY(hidden, hidden)
-CSS_KEY(hide, hide)
-CSS_KEY(highlight, highlight)
-CSS_KEY(highlighttext, highlighttext)
 CSS_KEY(historical-forms, historical_forms)
 CSS_KEY(historical-ligatures, historical_ligatures)
-CSS_KEY(horizontal, horizontal)
-CSS_KEY(horizontal-tb, horizontal_tb)
-CSS_KEY(hue, hue)
 CSS_KEY(hue-rotate, hue_rotate)
-CSS_KEY(hz, hz)
-CSS_KEY(icon, icon)
-CSS_KEY(ignore, ignore)
-CSS_KEY(ignore-horizontal, ignore_horizontal)
-CSS_KEY(ignore-vertical, ignore_vertical)
-CSS_KEY(in, in)
 CSS_KEY(interlace, interlace)
-CSS_KEY(inactive, inactive)
-CSS_KEY(inactiveborder, inactiveborder)
-CSS_KEY(inactivecaption, inactivecaption)
-CSS_KEY(inactivecaptiontext, inactivecaptiontext)
 CSS_KEY(infinite, infinite)
-CSS_KEY(infobackground, infobackground)
-CSS_KEY(infotext, infotext)
-CSS_KEY(inherit, inherit)
-CSS_KEY(initial, initial)
 CSS_KEY(inline, inline)
-CSS_KEY(inline-axis, inline_axis)
 CSS_KEY(inline-block, inline_block)
-CSS_KEY(inline-end, inline_end)
 CSS_KEY(inline-flex, inline_flex)
 CSS_KEY(inline-grid, inline_grid)
-CSS_KEY(inline-start, inline_start)
 CSS_KEY(inline-table, inline_table)
 CSS_KEY(inset, inset)
-CSS_KEY(inside, inside)
-CSS_KEY(inter-character, inter_character)
-CSS_KEY(inter-word, inter_word)
 CSS_KEY(interpolatematrix, interpolatematrix)
 CSS_KEY(accumulatematrix, accumulatematrix)
-CSS_KEY(intersect, intersect)
-CSS_KEY(isolate, isolate)
-CSS_KEY(isolate-override, isolate_override)
 CSS_KEY(invert, invert)
 CSS_KEY(italic, italic)
 CSS_KEY(jis78, jis78)
 CSS_KEY(jis83, jis83)
 CSS_KEY(jis90, jis90)
 CSS_KEY(jis04, jis04)
 CSS_KEY(justify, justify)
-CSS_KEY(keep-all, keep_all)
-CSS_KEY(khz, khz)
 CSS_KEY(landscape, landscape)
-CSS_KEY(large, large)
-CSS_KEY(larger, larger)
-CSS_KEY(last, last)
 CSS_KEY(last baseline, last_baseline) // only used for DevTools auto-completion
 CSS_KEY(layout, layout)
 CSS_KEY(left, left)
 CSS_KEY(legacy, legacy)
-CSS_KEY(lighten, lighten)
-CSS_KEY(lighter, lighter)
 CSS_KEY(line-through, line_through)
 CSS_KEY(linear, linear)
 CSS_KEY(lining-nums, lining_nums)
 CSS_KEY(list-item, list_item)
-CSS_KEY(local, local)
-CSS_KEY(logical, logical)
-CSS_KEY(looped, looped)
-CSS_KEY(lowercase, lowercase)
-CSS_KEY(lr, lr)
-CSS_KEY(lr-tb, lr_tb)
-CSS_KEY(ltr, ltr)
-CSS_KEY(luminance, luminance)
-CSS_KEY(luminosity, luminosity)
 CSS_KEY(mandatory, mandatory)
 CSS_KEY(manipulation, manipulation)
-CSS_KEY(manual, manual)
 CSS_KEY(margin-box, margin_box)
-CSS_KEY(markers, markers)
 CSS_KEY(match-parent, match_parent)
-CSS_KEY(match-source, match_source)
 CSS_KEY(matrix, matrix)
 CSS_KEY(matrix3d, matrix3d)
 CSS_KEY(max-content, max_content)
-CSS_KEY(medium, medium)
-CSS_KEY(menu, menu)
-CSS_KEY(menutext, menutext)
-CSS_KEY(message-box, message_box)
 CSS_KEY(middle, middle)
 CSS_KEY(min-content, min_content)
-CSS_KEY(minmax, minmax)
-CSS_KEY(mix, mix)
-CSS_KEY(mixed, mixed)
-CSS_KEY(mm, mm)
-CSS_KEY(monospace, monospace)
 CSS_KEY(move, move)
-CSS_KEY(ms, ms)
-CSS_KEY(multiply, multiply)
 CSS_KEY(n-resize, n_resize)
-CSS_KEY(narrower, narrower)
 CSS_KEY(ne-resize, ne_resize)
 CSS_KEY(nesw-resize, nesw_resize)
-CSS_KEY(no-clip, no_clip)
 CSS_KEY(no-close-quote, no_close_quote)
 CSS_KEY(no-common-ligatures, no_common_ligatures)
 CSS_KEY(no-contextual, no_contextual)
 CSS_KEY(no-discretionary-ligatures, no_discretionary_ligatures)
-CSS_KEY(no-drag, no_drag)
 CSS_KEY(no-drop, no_drop)
 CSS_KEY(no-historical-ligatures, no_historical_ligatures)
 CSS_KEY(no-open-quote, no_open_quote)
 CSS_KEY(no-repeat, no_repeat)
 CSS_KEY(none, none)
 CSS_KEY(normal, normal)
 CSS_KEY(not-allowed, not_allowed)
-CSS_KEY(nowrap, nowrap)
 CSS_KEY(numeric, numeric)
 CSS_KEY(ns-resize, ns_resize)
 CSS_KEY(nw-resize, nw_resize)
 CSS_KEY(nwse-resize, nwse_resize)
 CSS_KEY(oblique, oblique)
 CSS_KEY(oldstyle-nums, oldstyle_nums)
 CSS_KEY(opacity, opacity)
 CSS_KEY(open, open)
 CSS_KEY(open-quote, open_quote)
-CSS_KEY(optional, optional)
 CSS_KEY(ordinal, ordinal)
 CSS_KEY(ornaments, ornaments)
 CSS_KEY(outset, outset)
-CSS_KEY(outside, outside)
 CSS_KEY(over, over)
-CSS_KEY(overlay, overlay)
 CSS_KEY(overline, overline)
 CSS_KEY(paint, paint)
 CSS_KEY(padding-box, padding_box)
-CSS_KEY(painted, painted)
 CSS_KEY(pan-x, pan_x)
 CSS_KEY(pan-y, pan_y)
-CSS_KEY(paused, paused)
-CSS_KEY(pc, pc)
 CSS_KEY(perspective, perspective)
-CSS_KEY(petite-caps, petite_caps)
-CSS_KEY(physical, physical)
-CSS_KEY(plaintext, plaintext)
 CSS_KEY(pointer, pointer)
 CSS_KEY(polygon, polygon)
 CSS_KEY(portrait, portrait)
-CSS_KEY(pre, pre)
-CSS_KEY(pre-wrap, pre_wrap)
-CSS_KEY(pre-line, pre_line)
 CSS_KEY(preserve-3d, preserve_3d)
 CSS_KEY(progress, progress)
 CSS_KEY(progressive, progressive)
 CSS_KEY(proportional-nums, proportional_nums)
 CSS_KEY(proportional-width, proportional_width)
 CSS_KEY(proximity, proximity)
-CSS_KEY(pt, pt)
-CSS_KEY(px, px)
-CSS_KEY(rad, rad)
-CSS_KEY(read-only, read_only)
-CSS_KEY(read-write, read_write)
-CSS_KEY(relative, relative)
 CSS_KEY(repeat, repeat)
 CSS_KEY(repeat-x, repeat_x)
 CSS_KEY(repeat-y, repeat_y)
-CSS_KEY(reverse, reverse)
 CSS_KEY(ridge, ridge)
 CSS_KEY(right, right)
-CSS_KEY(rl, rl)
-CSS_KEY(rl-tb, rl_tb)
 CSS_KEY(rotate, rotate)
 CSS_KEY(rotate3d, rotate3d)
 CSS_KEY(rotatex, rotatex)
 CSS_KEY(rotatey, rotatey)
 CSS_KEY(rotatez, rotatez)
 CSS_KEY(round, round)
 CSS_KEY(row, row)
 CSS_KEY(row-resize, row_resize)
-CSS_KEY(row-reverse, row_reverse)
-CSS_KEY(rtl, rtl)
 CSS_KEY(ruby, ruby)
 CSS_KEY(ruby-base, ruby_base)
 CSS_KEY(ruby-base-container, ruby_base_container)
 CSS_KEY(ruby-text, ruby_text)
 CSS_KEY(ruby-text-container, ruby_text_container)
-CSS_KEY(running, running)
-CSS_KEY(s, s)
 CSS_KEY(s-resize, s_resize)
 CSS_KEY(safe, safe)
 CSS_KEY(saturate, saturate)
-CSS_KEY(saturation, saturation)
 CSS_KEY(scale, scale)
-CSS_KEY(scale-down, scale_down)
 CSS_KEY(scale3d, scale3d)
 CSS_KEY(scalex, scalex)
 CSS_KEY(scaley, scaley)
 CSS_KEY(scalez, scalez)
-CSS_KEY(screen, screen)
-CSS_KEY(script, script)
 CSS_KEY(scroll, scroll)
-CSS_KEY(scrollbar, scrollbar)
-CSS_KEY(scrollbar-small, scrollbar_small)
-CSS_KEY(scrollbar-horizontal, scrollbar_horizontal)
-CSS_KEY(scrollbar-vertical, scrollbar_vertical)
-CSS_KEY(scrollcorner, scrollcorner)
 CSS_KEY(se-resize, se_resize)
-CSS_KEY(select-after, select_after)
-CSS_KEY(select-all, select_all)
-CSS_KEY(select-before, select_before)
-CSS_KEY(select-menu, select_menu)
-CSS_KEY(select-same, select_same)
 CSS_KEY(self-end, self_end)
 CSS_KEY(self-start, self_start)
-CSS_KEY(semi-condensed, semi_condensed)
-CSS_KEY(semi-expanded, semi_expanded)
-CSS_KEY(separate, separate)
 CSS_KEY(sepia, sepia)
-CSS_KEY(serif, serif)
 CSS_KEY(sesame, sesame)
-CSS_KEY(show, show)
-CSS_KEY(sideways, sideways)
-CSS_KEY(sideways-lr, sideways_lr)
-CSS_KEY(sideways-right, sideways_right) /* alias for 'sideways' */
-CSS_KEY(sideways-rl, sideways_rl)
 CSS_KEY(simplified, simplified)
 CSS_KEY(size, size)
 CSS_KEY(skew, skew)
 CSS_KEY(skewx, skewx)
 CSS_KEY(skewy, skewy)
 CSS_KEY(slashed-zero, slashed_zero)
-CSS_KEY(slice, slice)
-CSS_KEY(small, small)
 CSS_KEY(small-caps, small_caps)
-CSS_KEY(small-caption, small_caption)
-CSS_KEY(smaller, smaller)
-CSS_KEY(smooth, smooth)
-CSS_KEY(soft, soft)
-CSS_KEY(soft-light, soft_light)
 CSS_KEY(solid, solid)
 CSS_KEY(space-around, space_around)
 CSS_KEY(space-between, space_between)
 CSS_KEY(space-evenly, space_evenly)
 CSS_KEY(span, span)
-CSS_KEY(spell-out, spell_out)
-CSS_KEY(square, square)
 CSS_KEY(stacked-fractions, stacked_fractions)
 CSS_KEY(start, start)
-CSS_KEY(static, static)
 CSS_KEY(standalone, standalone)
-CSS_KEY(status-bar, status_bar)
 CSS_KEY(step-end, step_end)
 CSS_KEY(step-start, step_start)
-CSS_KEY(sticky, sticky)
 CSS_KEY(stretch, stretch)
-CSS_KEY(stretch-to-fit, stretch_to_fit)
-CSS_KEY(stretched, stretched)
 CSS_KEY(strict, strict)
-CSS_KEY(stroke, stroke)
 CSS_KEY(stroke-box, stroke_box)
 CSS_KEY(style, style)
 CSS_KEY(styleset, styleset)
 CSS_KEY(stylistic, stylistic)
 CSS_KEY(sub, sub)
 CSS_KEY(subgrid, subgrid)
-CSS_KEY(subtract, subtract)
 CSS_KEY(super, super)
 CSS_KEY(sw-resize, sw_resize)
 CSS_KEY(swash, swash)
-CSS_KEY(swap, swap)
 CSS_KEY(table, table)
 CSS_KEY(table-caption, table_caption)
 CSS_KEY(table-cell, table_cell)
 CSS_KEY(table-column, table_column)
 CSS_KEY(table-column-group, table_column_group)
 CSS_KEY(table-footer-group, table_footer_group)
 CSS_KEY(table-header-group, table_header_group)
 CSS_KEY(table-row, table_row)
 CSS_KEY(table-row-group, table_row_group)
 CSS_KEY(tabular-nums, tabular_nums)
-CSS_KEY(tailed, tailed)
-CSS_KEY(tb, tb)
-CSS_KEY(tb-rl, tb_rl)
 CSS_KEY(text, text)
 CSS_KEY(text-bottom, text_bottom)
 CSS_KEY(text-top, text_top)
-CSS_KEY(thick, thick)
-CSS_KEY(thin, thin)
-CSS_KEY(threeddarkshadow, threeddarkshadow)
-CSS_KEY(threedface, threedface)
-CSS_KEY(threedhighlight, threedhighlight)
-CSS_KEY(threedlightshadow, threedlightshadow)
-CSS_KEY(threedshadow, threedshadow)
-CSS_KEY(titling-caps, titling_caps)
-CSS_KEY(toggle, toggle)
 CSS_KEY(top, top)
-CSS_KEY(top-outside, top_outside)
 CSS_KEY(traditional, traditional)
 CSS_KEY(translate, translate)
 CSS_KEY(translate3d, translate3d)
 CSS_KEY(translatex, translatex)
 CSS_KEY(translatey, translatey)
 CSS_KEY(translatez, translatez)
-CSS_KEY(transparent, transparent) // for nsComputedDOMStyle only
 CSS_KEY(triangle, triangle)
-CSS_KEY(tri-state, tri_state)
-CSS_KEY(ultra-condensed, ultra_condensed)
-CSS_KEY(ultra-expanded, ultra_expanded)
 CSS_KEY(under, under)
 CSS_KEY(underline, underline)
-CSS_KEY(unicase, unicase)
 CSS_KEY(unsafe, unsafe)
-CSS_KEY(unset, unset)
-CSS_KEY(uppercase, uppercase)
-CSS_KEY(upright, upright)
-CSS_KEY(vertical, vertical)
-CSS_KEY(vertical-lr, vertical_lr)
-CSS_KEY(vertical-rl, vertical_rl)
 CSS_KEY(vertical-text, vertical_text)
 CSS_KEY(view-box, view_box)
 CSS_KEY(visible, visible)
-CSS_KEY(visiblefill, visiblefill)
-CSS_KEY(visiblepainted, visiblepainted)
-CSS_KEY(visiblestroke, visiblestroke)
 CSS_KEY(w-resize, w_resize)
 CSS_KEY(wait, wait)
 CSS_KEY(wavy, wavy)
 CSS_KEY(weight, weight)
-CSS_KEY(wider, wider)
-CSS_KEY(window, window)
-CSS_KEY(windowframe, windowframe)
-CSS_KEY(windowtext, windowtext)
-CSS_KEY(words, words)
-CSS_KEY(wrap, wrap)
-CSS_KEY(wrap-reverse, wrap_reverse)
-CSS_KEY(write-only, write_only)
-CSS_KEY(x-large, x_large)
-CSS_KEY(x-small, x_small)
-CSS_KEY(xx-large, xx_large)
-CSS_KEY(xx-small, xx_small)
 CSS_KEY(zoom-in, zoom_in)
 CSS_KEY(zoom-out, zoom_out)
 
 // Appearance keywords for widget styles
-CSS_KEY(radio, radio)
-CSS_KEY(checkbox, checkbox)
-CSS_KEY(button-bevel, button_bevel)
-CSS_KEY(toolbox, toolbox)
-CSS_KEY(toolbar, toolbar)
-CSS_KEY(toolbarbutton, toolbarbutton)
-CSS_KEY(toolbargripper, toolbargripper)
-CSS_KEY(dualbutton, dualbutton)
-CSS_KEY(toolbarbutton-dropdown, toolbarbutton_dropdown)
-CSS_KEY(button-arrow-up, button_arrow_up)
-CSS_KEY(button-arrow-down, button_arrow_down)
-CSS_KEY(button-arrow-next, button_arrow_next)
-CSS_KEY(button-arrow-previous, button_arrow_previous)
-CSS_KEY(separator, separator)
-CSS_KEY(splitter, splitter)
-CSS_KEY(statusbar, statusbar)
-CSS_KEY(statusbarpanel, statusbarpanel)
-CSS_KEY(resizerpanel, resizerpanel)
-CSS_KEY(resizer, resizer)
-CSS_KEY(listbox, listbox)
-CSS_KEY(listitem, listitem)
-CSS_KEY(numbers, numbers)
-CSS_KEY(number-input, number_input)
-CSS_KEY(treeview, treeview)
-CSS_KEY(treeitem, treeitem)
-CSS_KEY(treetwisty, treetwisty)
-CSS_KEY(treetwistyopen, treetwistyopen)
-CSS_KEY(treeline, treeline)
-CSS_KEY(treeheader, treeheader)
-CSS_KEY(treeheadercell, treeheadercell)
-CSS_KEY(treeheadersortarrow, treeheadersortarrow)
-CSS_KEY(progressbar, progressbar)
-CSS_KEY(progressbar-vertical, progressbar_vertical)
-CSS_KEY(progresschunk, progresschunk)
-CSS_KEY(progresschunk-vertical, progresschunk_vertical)
-CSS_KEY(tab, tab)
-CSS_KEY(tabpanels, tabpanels)
-CSS_KEY(tabpanel, tabpanel)
-CSS_KEY(tab-scroll-arrow-back, tab_scroll_arrow_back)
-CSS_KEY(tab-scroll-arrow-forward, tab_scroll_arrow_forward)
-CSS_KEY(tooltip, tooltip)
-CSS_KEY(inner-spin-button, inner_spin_button)
-CSS_KEY(spinner, spinner)
-CSS_KEY(spinner-upbutton, spinner_upbutton)
-CSS_KEY(spinner-downbutton, spinner_downbutton)
-CSS_KEY(spinner-textfield, spinner_textfield)
-CSS_KEY(scrollbarbutton-up, scrollbarbutton_up)
-CSS_KEY(scrollbarbutton-down, scrollbarbutton_down)
-CSS_KEY(scrollbarbutton-left, scrollbarbutton_left)
-CSS_KEY(scrollbarbutton-right, scrollbarbutton_right)
-CSS_KEY(scrollbartrack-horizontal, scrollbartrack_horizontal)
-CSS_KEY(scrollbartrack-vertical, scrollbartrack_vertical)
-CSS_KEY(scrollbarthumb-horizontal, scrollbarthumb_horizontal)
-CSS_KEY(scrollbarthumb-vertical, scrollbarthumb_vertical)
-CSS_KEY(sheet, sheet)
-CSS_KEY(textfield, textfield)
-CSS_KEY(textfield-multiline, textfield_multiline)
-CSS_KEY(caret, caret)
-CSS_KEY(searchfield, searchfield)
-CSS_KEY(menubar, menubar)
-CSS_KEY(menupopup, menupopup)
-CSS_KEY(menuitem, menuitem)
-CSS_KEY(checkmenuitem, checkmenuitem)
-CSS_KEY(radiomenuitem, radiomenuitem)
-CSS_KEY(menucheckbox, menucheckbox)
-CSS_KEY(menuradio, menuradio)
-CSS_KEY(menuseparator, menuseparator)
-CSS_KEY(menuarrow, menuarrow)
-CSS_KEY(menuimage, menuimage)
-CSS_KEY(menuitemtext, menuitemtext)
-CSS_KEY(menulist, menulist)
-CSS_KEY(menulist-button, menulist_button)
-CSS_KEY(menulist-text, menulist_text)
-CSS_KEY(menulist-textfield, menulist_textfield)
-CSS_KEY(meterbar, meterbar)
-CSS_KEY(meterchunk, meterchunk)
 CSS_KEY(minimal-ui, minimal_ui)
-CSS_KEY(range, range)
-CSS_KEY(range-thumb, range_thumb)
-CSS_KEY(sans-serif, sans_serif)
-CSS_KEY(sans-serif-bold-italic, sans_serif_bold_italic)
-CSS_KEY(sans-serif-italic, sans_serif_italic)
-CSS_KEY(scale-horizontal, scale_horizontal)
-CSS_KEY(scale-vertical, scale_vertical)
-CSS_KEY(scalethumb-horizontal, scalethumb_horizontal)
-CSS_KEY(scalethumb-vertical, scalethumb_vertical)
-CSS_KEY(scalethumbstart, scalethumbstart)
-CSS_KEY(scalethumbend, scalethumbend)
-CSS_KEY(scalethumbtick, scalethumbtick)
-CSS_KEY(groupbox, groupbox)
-CSS_KEY(checkbox-container, checkbox_container)
-CSS_KEY(radio-container, radio_container)
-CSS_KEY(checkbox-label, checkbox_label)
-CSS_KEY(radio-label, radio_label)
-CSS_KEY(button-focus, button_focus)
-CSS_KEY(-moz-win-media-toolbox, _moz_win_media_toolbox)
-CSS_KEY(-moz-win-communications-toolbox, _moz_win_communications_toolbox)
-CSS_KEY(-moz-win-browsertabbar-toolbox, _moz_win_browsertabbar_toolbox)
-CSS_KEY(-moz-win-accentcolor, _moz_win_accentcolor)
-CSS_KEY(-moz-win-accentcolortext, _moz_win_accentcolortext)
-CSS_KEY(-moz-win-mediatext, _moz_win_mediatext)
-CSS_KEY(-moz-win-communicationstext, _moz_win_communicationstext)
-CSS_KEY(-moz-win-glass, _moz_win_glass)
-CSS_KEY(-moz-win-borderless-glass, _moz_win_borderless_glass)
-CSS_KEY(-moz-window-titlebar, _moz_window_titlebar)
-CSS_KEY(-moz-window-titlebar-maximized, _moz_window_titlebar_maximized)
-CSS_KEY(-moz-window-frame-left, _moz_window_frame_left)
-CSS_KEY(-moz-window-frame-right, _moz_window_frame_right)
-CSS_KEY(-moz-window-frame-bottom, _moz_window_frame_bottom)
-CSS_KEY(-moz-window-button-close, _moz_window_button_close)
-CSS_KEY(-moz-window-button-minimize, _moz_window_button_minimize)
-CSS_KEY(-moz-window-button-maximize, _moz_window_button_maximize)
-CSS_KEY(-moz-window-button-restore, _moz_window_button_restore)
-CSS_KEY(-moz-window-button-box, _moz_window_button_box)
-CSS_KEY(-moz-window-button-box-maximized, _moz_window_button_box_maximized)
-CSS_KEY(-moz-mac-help-button, _moz_mac_help_button)
-CSS_KEY(-moz-win-exclude-glass, _moz_win_exclude_glass)
-CSS_KEY(-moz-mac-vibrancy-light, _moz_mac_vibrancy_light)
-CSS_KEY(-moz-mac-vibrancy-dark, _moz_mac_vibrancy_dark)
-CSS_KEY(-moz-mac-vibrant-titlebar-light, _moz_mac_vibrant_titlebar_light)
-CSS_KEY(-moz-mac-vibrant-titlebar-dark, _moz_mac_vibrant_titlebar_dark)
-CSS_KEY(-moz-mac-disclosure-button-closed, _moz_mac_disclosure_button_closed)
-CSS_KEY(-moz-mac-disclosure-button-open, _moz_mac_disclosure_button_open)
-CSS_KEY(-moz-mac-source-list, _moz_mac_source_list)
-CSS_KEY(-moz-mac-source-list-selection, _moz_mac_source_list_selection)
-CSS_KEY(-moz-mac-active-source-list-selection, _moz_mac_active_source_list_selection)
 CSS_KEY(alphabetic, alphabetic)
-CSS_KEY(bevel, bevel)
-CSS_KEY(butt, butt)
-CSS_KEY(central, central)
-CSS_KEY(crispedges, crispedges)
-CSS_KEY(evenodd, evenodd)
-CSS_KEY(geometricprecision, geometricprecision)
-CSS_KEY(hanging, hanging)
-CSS_KEY(ideographic, ideographic)
-CSS_KEY(linearrgb, linearrgb)
-CSS_KEY(mathematical, mathematical)
 //CSS_KEY(middle, middle)
-CSS_KEY(miter, miter)
-CSS_KEY(no-change, no_change)
-CSS_KEY(non-scaling-stroke, non_scaling_stroke)
-CSS_KEY(nonzero, nonzero)
-CSS_KEY(optimizelegibility, optimizelegibility)
-CSS_KEY(optimizequality, optimizequality)
-CSS_KEY(optimizespeed, optimizespeed)
-CSS_KEY(reset-size, reset_size)
-//CSS_KEY(square, square)
 //CSS_KEY(start, start)
-CSS_KEY(srgb, srgb)
 CSS_KEY(symbolic, symbolic)
-CSS_KEY(symbols, symbols)
-CSS_KEY(text-after-edge, text_after_edge)
-CSS_KEY(text-before-edge, text_before_edge)
-CSS_KEY(use-script, use_script)
-CSS_KEY(-moz-crisp-edges, _moz_crisp_edges)
 CSS_KEY(space, space)