Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestNG css files contain incorrect comments (using Java/Javascript style) #1048

Closed
DaveBrad opened this issue May 22, 2016 · 2 comments · Fixed by #1805
Closed

TestNG css files contain incorrect comments (using Java/Javascript style) #1048

DaveBrad opened this issue May 22, 2016 · 2 comments · Fixed by #1805
Labels

Comments

@DaveBrad
Copy link

The testng.CSS files contain an incorrect comment format on certain lines. These lines are flagged as in error by more up-to-date CSS editors.
e.g.
.main-panel-header { padding: 5px; background-color: #9FB4D9; //afeeee; font-family: monospace; font-size: 18px; }
The // is a Javascript/Java form of comment. The CSS specification states

" 4.1.9 Comments

Comments begin with the characters "/" and end with the characters "/". They may occur anywhere outside other tokens, and their contents have no influence on the rendering. Comments may not be nested.

CSS also allows the SGML comment delimiters ("") in certain places defined by the grammar, but they do not delimit CSS comments. They are permitted so that style rules appearing in an HTML source document (in the STYLE element) may be hidden from pre-HTML 3.2 user agents. See the HTML 4 specification ([HTML4]) for more information.

https://www.w3.org/TR/CSS2/syndata.html#comments
"

I imported github testNG into Netbeans 8.1 as a Maven projectThese errors were flagged. Additionally, some browsers have started to be picky about correctly formatted HTML and CSS content and in some cases the CSS class is ignored when errors/incorrect settings are incorporated into classes. (Takes a while to figure it out when displays don't appear as coded.)

@cbeust
Copy link
Collaborator

cbeust commented May 22, 2016

Thanks for reporting this. Would you be interested in sending a pull request to https://github.com/testng-team/testng-team.github.io ?

@DaveBrad
Copy link
Author

Hi,

Will do and I'll fork from the testng-team github.

Also, I use Java 8 and when generating Javadoc I notice some reported
errors. I'll look into those too, but a different push.

Thanks
Dave

On 22-May-16 12:06, Cedric Beust wrote:

Thanks for reporting this. Would you be interested in sending a pull
request to https://github.com/testng-team/testng-team.github.io ?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#1048 (comment)

krmahadevan added a commit to krmahadevan/testng that referenced this issue May 28, 2018
krmahadevan added a commit to krmahadevan/testng that referenced this issue May 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants