Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

Some Ndn.hgl Keywords Are Ignored (bad Parsing?)

Recommended Posts

dandv    0

Save the following as a CSS file:

h1 {
    border: thin;
    border-style: thin;
    padding: 10px;
    padding-top: 10px;
}

 

Edit that CSS file with NDN 2.31.2699 (the bug is there in the older versions too). Notice that "padding" and "border" are not highlighted, although these two keywords are listed in the "FILES *.CSS" section of NDN.HGL.

 

Here is the smallest HGL that I found to reproduce the problem:

FILES *.CSS
   GeneralFlags 0
   Keywords1 padding-top,padding-bottom,padding
   Keywords2 thin,red
   Keywords3 border-style,border
END

 

If you remove "padding-bottom" and edit the CSS file again, then "padding" will be highlighted. Even more weird, if you remove "red", "border" will be highlighted.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×