summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parse/properties.c4
-rw-r--r--src/parse/propstrings.h15
2 files changed, 11 insertions, 8 deletions
diff --git a/src/parse/properties.c b/src/parse/properties.c
index 4cd3eaa..1aac8e4 100644
--- a/src/parse/properties.c
+++ b/src/parse/properties.c
@@ -501,11 +501,11 @@ css_error parse_azimuth(css_language *c,
value = AZIMUTH_FAR_LEFT;
} else if (token->ilower == c->strings[LEFT]) {
value = AZIMUTH_LEFT;
- } else if (token->ilower == c->strings[CENTER-LEFT]) {
+ } else if (token->ilower == c->strings[CENTER_LEFT]) {
value = AZIMUTH_CENTER_LEFT;
} else if (token->ilower == c->strings[CENTER]) {
value = AZIMUTH_CENTER;
- } else if (token->ilower == c->strings[CENTER-RIGHT]) {
+ } else if (token->ilower == c->strings[CENTER_RIGHT]) {
value = AZIMUTH_CENTER_RIGHT;
} else if (token->ilower == c->strings[RIGHT]) {
value = AZIMUTH_RIGHT;
diff --git a/src/parse/propstrings.h b/src/parse/propstrings.h
index fc7e4c6..3ad2735 100644
--- a/src/parse/propstrings.h
+++ b/src/parse/propstrings.h
@@ -63,12 +63,13 @@ enum {
UPPERCASE, LOWERCASE, EMBED, BIDI_OVERRIDE, BASELINE, SUB, SUPER,
TEXT_TOP, MIDDLE, TEXT_BOTTOM, SILENT, X_SOFT, SOFT, LOUD, X_LOUD,
PRE, NOWRAP, PRE_WRAP, PRE_LINE, LEFTWARDS, RIGHTWARDS, LEFT_SIDE,
- FAR_LEFT, FAR_RIGHT, RIGHT_SIDE, BEHIND, RECT, OPEN_QUOTE, CLOSE_QUOTE,
- NO_OPEN_QUOTE, NO_CLOSE_QUOTE, ATTR, COUNTER, COUNTERS, CROSSHAIR,
- DEFAULT, POINTER, MOVE, E_RESIZE, NE_RESIZE, NW_RESIZE, N_RESIZE,
- SE_RESIZE, SW_RESIZE, S_RESIZE, W_RESIZE, TEXT, WAIT, HELP, PROGRESS,
- SERIF, SANS_SERIF, CURSIVE, FANTASY, MONOSPACE, MALE, FEMALE, CHILD,
- MIX, UNDERLINE, OVERLINE, LINE_THROUGH, BLINK, RGB,
+ FAR_LEFT, CENTER_LEFT, CENTER_RIGHT, FAR_RIGHT, RIGHT_SIDE, BEHIND,
+ RECT, OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE, ATTR,
+ COUNTER, COUNTERS, CROSSHAIR, DEFAULT, POINTER, MOVE, E_RESIZE,
+ NE_RESIZE, NW_RESIZE, N_RESIZE, SE_RESIZE, SW_RESIZE, S_RESIZE,
+ W_RESIZE, TEXT, WAIT, HELP, PROGRESS, SERIF, SANS_SERIF, CURSIVE,
+ FANTASY, MONOSPACE, MALE, FEMALE, CHILD, MIX, UNDERLINE, OVERLINE,
+ LINE_THROUGH, BLINK, RGB,
LAST_KNOWN
};
@@ -314,6 +315,8 @@ static struct {
{ "rightwards", SLEN("rightwards") },
{ "left-side", SLEN("left-side") },
{ "far-left", SLEN("far-left") },
+ { "center-left", SLEN("center-left") },
+ { "center-right", SLEN("center-right") },
{ "far-right", SLEN("far-right") },
{ "right-side", SLEN("right-side") },
{ "behind", SLEN("behind") },