From 98a28f41685a9b7390dbc6479c9c1726f40bd57d Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Sat, 16 Dec 2017 21:47:34 +0700 Subject: [PATCH] css docs: Get rid of non-breaking hyphens Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 --- docs/reference/gtk/css-overview.xml | 17 +-- docs/reference/gtk/css-properties.xml | 201 +++++++++++++------------- 2 files changed, 104 insertions(+), 114 deletions(-) diff --git a/docs/reference/gtk/css-overview.xml b/docs/reference/gtk/css-overview.xml index 4c15f427cb..8e031eddf6 100644 --- a/docs/reference/gtk/css-overview.xml +++ b/docs/reference/gtk/css-overview.xml @@ -21,11 +21,6 @@ Overview of CSS in GTK+ Formatting conventions: We use -‑ U+2011 Non-breaking Hyphen - -to control line breaks in the Name and Value columns. -We use - 〈 U+2329 Left-pointing Angle Bracket 〉 U+232A Right-pointing Angle Bracket @@ -381,31 +376,31 @@ checkbutton:indeterminate { GTK+ uses the widget name as ID - E:nth‑child(〈nth‑child〉) + E:nth-child(〈nth-child〉) any E node which is the n-th child of its parent node CSS - E:nth‑last‑child(〈nth‑child〉) + E:nth-last-child(〈nth-child〉) any E node which is the n-th child of its parent node, counting from the end CSS - E:first‑child + E:first-child any E node which is the first child of its parent node CSS - E:last‑child + E:last-child any E node which is the last child of its parent node CSS - E:only‑child + E:only-child any E node which is the only child of its parent node CSS Equivalent to E:first-child:last-child @@ -622,7 +617,7 @@ background-color: @bg_color; 〈linear gradient〉 = [ linear-gradient | repeating-linear-gradient ] ( [ [ 〈angle〉 | to 〈side or corner〉 ] , ]? 〈color stops〉 ) -〈radial gradient〉 = [ radial‑gradient | repeating‑radial‑gradient ] ( +〈radial gradient〉 = [ radial-gradient | repeating-radial-gradient ] ( [ [ 〈shape〉 || 〈size〉 ] [ at 〈position〉 ]? , | at 〈position〉, ]? 〈color stops〉 ) 〈side or corner〉 = [ left | right ] || [ top | bottom ] diff --git a/docs/reference/gtk/css-properties.xml b/docs/reference/gtk/css-properties.xml index 55cd900431..473d97e583 100644 --- a/docs/reference/gtk/css-properties.xml +++ b/docs/reference/gtk/css-properties.xml @@ -21,11 +21,6 @@ GTK+ CSS Properties Formatting conventions: We use -‑ U+2011 Non-breaking Hyphen - -to control line breaks in the Name and Value columns. -We use - 〈 U+2329 Left-pointing Angle Bracket 〉 U+232A Right-pointing Angle Bracket @@ -187,7 +182,7 @@ We use for syntax productions, and each line is put in a - font‑family + font-family 〈family name〉 [ , 〈family name〉 ]* gtk-font-name setting @@ -197,7 +192,7 @@ We use for syntax productions, and each line is put in a - font‑size + font-size 〈absolute size〉 | 〈relative size〉 | 〈length〉 | 〈percentage〉 gtk-font-name setting @@ -207,7 +202,7 @@ We use for syntax productions, and each line is put in a - font‑style + font-style normal | oblique | italic normal @@ -217,7 +212,7 @@ We use for syntax productions, and each line is put in a - font‑variant + font-variant normal | small-caps normal @@ -227,7 +222,7 @@ We use for syntax productions, and each line is put in a only CSS2 values supported - font‑weight + font-weight normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 normal @@ -237,7 +232,7 @@ We use for syntax productions, and each line is put in a normal is synonymous with 400, bold with 700 - font‑stretch + font-stretch ultra-condensed | extra-condensed | condensed | semi-condensed | normal | semi-expanded | expanded | extra-expanded | ultra-expanded normal @@ -246,7 +241,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑dpi + -gtk-dpi 〈number〉 screen resolution @@ -418,7 +413,7 @@ We use for syntax productions, and each line is put in a - letter‑spacing + letter-spacing 〈length〉 0px @@ -427,7 +422,7 @@ We use for syntax productions, and each line is put in a - text‑decoration‑line + text-decoration-line none | underline | line-through none @@ -437,7 +432,7 @@ We use for syntax productions, and each line is put in a CSS allows overline - text‑decoration‑color + text-decoration-color 〈color〉 currentColor @@ -446,7 +441,7 @@ We use for syntax productions, and each line is put in a - text‑decoration‑style + text-decoration-style solid | double | wavy solid @@ -455,7 +450,7 @@ We use for syntax productions, and each line is put in a CSS allows dashed and dotted - text‑shadow + text-shadow none | 〈shadow〉 none @@ -471,7 +466,7 @@ We use for syntax productions, and each line is put in a - text‑decoration + text-decoration 〈text-decoration-line〉 || 〈text-decoration-style〉 || 〈text-decoration-color〉 see individual properties CSS3 @@ -499,7 +494,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑icon‑source + -gtk-icon-source builtin | 〈image〉 | none builtin @@ -508,7 +503,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑icon‑transform + -gtk-icon-transform none | 〈transform〉+ none @@ -517,7 +512,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑icon‑style + -gtk-icon-style requested | regular | symbolic requested @@ -526,7 +521,7 @@ We use for syntax productions, and each line is put in a Determines the preferred style for application-loaded icons - ‑gtk‑icon‑theme + -gtk-icon-theme 〈name〉 current icon theme @@ -535,7 +530,7 @@ We use for syntax productions, and each line is put in a The icon theme to use with -gtk-icontheme(). Since 3.20 - ‑gtk‑icon‑palette + -gtk-icon-palette 〈color palette〉 default @@ -544,7 +539,7 @@ We use for syntax productions, and each line is put in a Used to recolor symbolic icons (both application-loaded and from -gtk-icontheme()). Since 3.20 - ‑gtk‑icon‑shadow + -gtk-icon-shadow none | 〈shadow〉 none @@ -553,7 +548,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑icon‑filter + -gtk-icon-filter none | 〈filter-function-list〉 none @@ -562,7 +557,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑icon‑size + -gtk-icon-size 〈length〉 none @@ -619,7 +614,7 @@ We use for syntax productions, and each line is put in a - min‑width + min-width 〈length〉 0px @@ -629,7 +624,7 @@ We use for syntax productions, and each line is put in a CSS allows percentages - min‑height + min-height 〈length〉 0px @@ -639,7 +634,7 @@ We use for syntax productions, and each line is put in a CSS allows percentages - margin‑top + margin-top 〈length〉 0px @@ -649,7 +644,7 @@ We use for syntax productions, and each line is put in a CSS allows percentages or auto - margin‑right + margin-right 〈length〉 0px @@ -659,7 +654,7 @@ We use for syntax productions, and each line is put in a CSS allows percentages or auto - margin‑bottom + margin-bottom 〈length〉 0px @@ -669,7 +664,7 @@ We use for syntax productions, and each line is put in a CSS allows percentages or auto - margin‑left + margin-left 〈length〉 0px @@ -679,7 +674,7 @@ We use for syntax productions, and each line is put in a CSS allows percentages or auto - padding‑top + padding-top 〈length〉 0px @@ -689,7 +684,7 @@ We use for syntax productions, and each line is put in a CSS allows percentages - padding‑right + padding-right 〈length〉 0px @@ -699,7 +694,7 @@ We use for syntax productions, and each line is put in a CSS allows percentages - padding‑bottom + padding-bottom 〈length〉 0px @@ -709,7 +704,7 @@ We use for syntax productions, and each line is put in a CSS allows percentages - padding‑left + padding-left 〈length〉 0px @@ -755,7 +750,7 @@ We use for syntax productions, and each line is put in a - border‑top‑width + border-top-width 〈length〉 0px @@ -765,7 +760,7 @@ We use for syntax productions, and each line is put in a CSS allows other values - border‑right‑width + border-right-width 〈length〉 0px @@ -775,7 +770,7 @@ We use for syntax productions, and each line is put in a CSS allows other values - border‑bottom‑width + border-bottom-width 〈length〉 0px @@ -785,7 +780,7 @@ We use for syntax productions, and each line is put in a CSS allows other values - border‑right‑width + border-right-width 〈length〉 0px @@ -795,7 +790,7 @@ We use for syntax productions, and each line is put in a CSS allows other values - border‑top‑style + border-top-style 〈border style〉 none @@ -805,7 +800,7 @@ We use for syntax productions, and each line is put in a - border‑right‑style + border-right-style 〈border style〉 none @@ -815,7 +810,7 @@ We use for syntax productions, and each line is put in a - border‑bottom‑style + border-bottom-style 〈border style〉 none @@ -825,7 +820,7 @@ We use for syntax productions, and each line is put in a - border‑left‑style + border-left-style 〈border style〉 none @@ -835,7 +830,7 @@ We use for syntax productions, and each line is put in a - border‑top‑right‑radius + border-top-right-radius 〈corner radius〉 0 @@ -845,7 +840,7 @@ We use for syntax productions, and each line is put in a - border‑bottom‑right‑radius + border-bottom-right-radius 〈corner radius〉 0 @@ -855,7 +850,7 @@ We use for syntax productions, and each line is put in a - border‑bottom‑left‑radius + border-bottom-left-radius 〈corner radius〉 0 @@ -865,7 +860,7 @@ We use for syntax productions, and each line is put in a - border‑top‑left‑radius + border-top-left-radius 〈corner radius〉 0 @@ -875,7 +870,7 @@ We use for syntax productions, and each line is put in a - border‑top‑color + border-top-color 〈color〉 currentColor @@ -885,7 +880,7 @@ We use for syntax productions, and each line is put in a - border‑right‑color + border-right-color 〈color〉 currentColor @@ -895,7 +890,7 @@ We use for syntax productions, and each line is put in a - border‑bottom‑color + border-bottom-color 〈color〉 currentColor @@ -905,7 +900,7 @@ We use for syntax productions, and each line is put in a - border‑left‑color + border-left-color 〈color〉 currentColor @@ -915,7 +910,7 @@ We use for syntax productions, and each line is put in a - border‑image‑source + border-image-source 〈image〉 | none none @@ -924,7 +919,7 @@ We use for syntax productions, and each line is put in a - border‑image‑repeat + border-image-repeat 〈border repeat〉{1,2} stretch @@ -933,7 +928,7 @@ We use for syntax productions, and each line is put in a - border‑image‑slice + border-image-slice [ 〈number〉 | 〈percentage〉 ]{1,4} && fill? 100% @@ -942,7 +937,7 @@ We use for syntax productions, and each line is put in a a 'four sides' shorthand - border‑image‑width + border-image-width [ 〈length〉 | 〈number〉 | 〈percentage〉 | auto ]{1,4} 1 @@ -959,7 +954,7 @@ We use for syntax productions, and each line is put in a - border‑width + border-width 〈length〉{1,4} see individual properties CSS2, @@ -967,7 +962,7 @@ We use for syntax productions, and each line is put in a a 'four sides' shorthand - border‑style + border-style 〈border style〉{1,4} see individual properties CSS2, @@ -975,14 +970,14 @@ We use for syntax productions, and each line is put in a a 'four sides' shorthand - border‑color + border-color 〈color〉{1,4} see individual properties CSS3 a 'four sides' shorthand - border‑top + border-top 〈length〉 || 〈border style〉 || 〈color〉 see individual properties CSS2, @@ -990,7 +985,7 @@ We use for syntax productions, and each line is put in a - border‑left + border-left 〈length〉 || 〈border style〉 || 〈color〉 see individual properties CSS2, @@ -998,7 +993,7 @@ We use for syntax productions, and each line is put in a - border‑bottom + border-bottom 〈length〉 || 〈border style〉 || 〈color〉 see individual properties CSS2, @@ -1006,7 +1001,7 @@ We use for syntax productions, and each line is put in a - border‑right + border-right 〈length〉 || 〈border style〉 || 〈color〉 see individual properties CSS2, @@ -1022,14 +1017,14 @@ We use for syntax productions, and each line is put in a - border‑radius + border-radius [ 〈length〉 | 〈percentage〉 ]{1,4} [ / [ 〈length〉 | 〈percentage〉 ]{1,4} ]? see individual properties CSS3 - border‑image + border-image 〈border-image-source〉 || 〈border-image-slice〉 [ / 〈border-image-width〉 | / 〈border-image-width〉? / 〈border-image-outset〉 ]? || 〈border-image-repeat〉 see individual properties CSS3 @@ -1053,7 +1048,7 @@ We use for syntax productions, and each line is put in a - outline‑style + outline-style none | solid | inset | outset | hidden | dotted | dashed | double | groove | ridge none @@ -1063,7 +1058,7 @@ We use for syntax productions, and each line is put in a - outline‑width + outline-width 〈length〉 0px @@ -1073,7 +1068,7 @@ We use for syntax productions, and each line is put in a - outline‑color + outline-color 〈color〉 currentColor @@ -1083,7 +1078,7 @@ We use for syntax productions, and each line is put in a - outline‑offset + outline-offset 〈length〉 0px @@ -1092,7 +1087,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑outline‑top‑left‑radius + -gtk-outline-top-left-radius 〈corner radius〉 0 @@ -1101,7 +1096,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑outline‑top‑right‑radius + -gtk-outline-top-right-radius 〈corner radius〉 0 @@ -1110,7 +1105,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑outline‑bottom‑right‑radius + -gtk-outline-bottom-right-radius 〈corner radius〉 0 @@ -1119,7 +1114,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑outline‑bottom‑left‑radius + -gtk-outline-bottom-left-radius 〈corner radius〉 0 @@ -1143,7 +1138,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑outline‑radius + -gtk-outline-radius [ 〈length〉|〈percentage〉 ]{1,4} [ / [〈length〉 | 〈percentage〉 ]{1,4} ]? see individual properties @@ -1167,7 +1162,7 @@ We use for syntax productions, and each line is put in a - background‑color + background-color 〈color〉 rgba(0,0,0,0) @@ -1177,7 +1172,7 @@ We use for syntax productions, and each line is put in a - background‑clip + background-clip 〈box〉 [ , 〈box〉 ]* border-box @@ -1186,7 +1181,7 @@ We use for syntax productions, and each line is put in a - background‑origin + background-origin 〈box〉 [ , 〈box〉 ]* padding-box @@ -1195,7 +1190,7 @@ We use for syntax productions, and each line is put in a - background‑size + background-size 〈bg-size〉 [ , 〈bg-size〉 ]* auto @@ -1204,7 +1199,7 @@ We use for syntax productions, and each line is put in a - background‑position + background-position 〈position〉 [ , 〈position〉 ]* 0 @@ -1214,7 +1209,7 @@ We use for syntax productions, and each line is put in a - background‑repeat + background-repeat 〈bg-repeat 〉[ , 〈bg-repeat〉 ]* repeat @@ -1224,7 +1219,7 @@ We use for syntax productions, and each line is put in a - background‑image + background-image 〈bg-image〉[ , 〈bg-image〉 ]* none @@ -1243,7 +1238,7 @@ We use for syntax productions, and each line is put in a only affects multiple backgrounds - box‑shadow + box-shadow none | 〈box shadow〉 [ , 〈box shadow〉 ]* none @@ -1300,7 +1295,7 @@ We use for syntax productions, and each line is put in a - transition‑property + transition-property none | all | 〈property name〉 [ , 〈property name〉 ]* all @@ -1309,7 +1304,7 @@ We use for syntax productions, and each line is put in a - transition‑duration + transition-duration 〈time〉 [ , 〈time〉 ]* 0s @@ -1318,8 +1313,8 @@ We use for syntax productions, and each line is put in a - transition‑timing‑function - 〈single‑timing‑function〉[ , 〈single‑timing‑function〉 ]* + transition-timing-function + 〈single-timing-function〉[ , 〈single-timing-function〉 ]* ease @@ -1327,7 +1322,7 @@ We use for syntax productions, and each line is put in a - transition‑delay + transition-delay 〈time〉 [ , 〈time〉 ]* 0s @@ -1369,7 +1364,7 @@ We use for syntax productions, and each line is put in a - animation‑name + animation-name 〈single-animation-name〉 [ , 〈single-animation-name〉 ]* none @@ -1378,7 +1373,7 @@ We use for syntax productions, and each line is put in a - animation‑duration + animation-duration 〈time〉 [ , 〈time〉 ]* 0s @@ -1387,8 +1382,8 @@ We use for syntax productions, and each line is put in a - animation‑timing‑function - 〈single‑timing‑function〉 [ , 〈single‑timing‑function〉 ]* + animation-timing-function + 〈single-timing-function〉 [ , 〈single-timing-function〉 ]* ease @@ -1396,8 +1391,8 @@ We use for syntax productions, and each line is put in a - animation‑iteration-count - 〈single‑animation‑iteration‑count〉 [ , 〈single‑animation‑iteration‑count〉 ]* + animation-iteration-count + 〈single-animation-iteration-count〉 [ , 〈single-animation-iteration-count〉 ]* 1 @@ -1405,8 +1400,8 @@ We use for syntax productions, and each line is put in a - animation‑direction - 〈single‑animation‑direction〉 [ , 〈single‑animation‑direction〉 ]* + animation-direction + 〈single-animation-direction〉 [ , 〈single-animation-direction〉 ]* normal @@ -1414,8 +1409,8 @@ We use for syntax productions, and each line is put in a - animation‑play‑state - 〈single‑animation‑play‑state〉 [ , 〈single‑animation‑play‑state〉 ]* + animation-play-state + 〈single-animation-play-state〉 [ , 〈single-animation-play-state〉 ]* running @@ -1423,7 +1418,7 @@ We use for syntax productions, and each line is put in a - animation‑delay + animation-delay 〈time〉 [ , 〈time〉 ]* 0s @@ -1432,8 +1427,8 @@ We use for syntax productions, and each line is put in a - animation‑fill‑mode - 〈single‑animation‑fill‑mode〉 [ , 〈single‑animation‑fill‑mode〉 ]* + animation-fill-mode + 〈single-animation-fill-mode〉 [ , 〈single-animation-fill-mode〉 ]* none @@ -1449,7 +1444,7 @@ We use for syntax productions, and each line is put in a animation - 〈single‑animation〉 [ , 〈single‑animation〉]* + 〈single-animation〉 [ , 〈single-animation〉]* see individual properties CSS3 @@ -1477,7 +1472,7 @@ We use for syntax productions, and each line is put in a - ‑gtk‑key‑bindings + -gtk-key-bindings none | 〈binding name〉 [ , 〈binding name〉 ]* none @@ -1503,7 +1498,7 @@ We use for syntax productions, and each line is put in a - border‑spacing + border-spacing 〈length〉{1,2} 0