File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public final int getType() {
3636 static final CssIdent ellipse = CssIdent .getIdent ("ellipse" );
3737 static final CssIdent from = CssIdent .getIdent ("from" );
3838 static final CssIdent [] extent_keywords ;
39+ static final CssIdent [] image_tags ;
3940
4041 static {
4142 String _val [] = {"closest-corner" , "closest-side" ,
@@ -45,6 +46,12 @@ public final int getType() {
4546 for (String s : _val ) {
4647 extent_keywords [i ++] = CssIdent .getIdent (s );
4748 }
49+ String _img_tags [] = { "ltr" , "rtl" };
50+ image_tags = new CssIdent [_img_tags .length ];
51+ i = 0 ;
52+ for (String s : _img_tags ) {
53+ image_tags [i ++] = CssIdent .getIdent (s );
54+ }
4855 }
4956
5057 boolean contains_variable = false ;
@@ -86,6 +93,15 @@ public static CssIdent getExtentIdent(CssIdent ident) {
8693 return null ;
8794 }
8895
96+ public static CssIdent getImageTag (CssIdent ident ) {
97+ for (CssIdent id : image_tags ) {
98+ if (id .equals (ident )) {
99+ return id ;
100+ }
101+ }
102+ return null ;
103+ }
104+
89105 public static CssIdent getShape (CssIdent ident ) {
90106 if (circle .equals (ident )) {
91107 return circle ;
You can’t perform that action at this time.
0 commit comments