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

group selector contains body tag ignore other selectors #228

bastengao opened this Issue Dec 2, 2014 · 0 comments


None yet
1 participant

bastengao commented Dec 2, 2014

I have a html page ref a s stylesheet, stylesheet content

body, table, th, td {
  font-family: xxx;

processed html result, only contains this under body tag

<style type="text/css">
body {
  font-family: xxx;

it works on development, but on production style of table, th and td elements is empty.

I expect this

<body style="font-family: xxx;">
  <table  style="font-family: xxx;">
     <th  style="font-family: xxx;"></th>
     <td  style="font-family: xxx;"></td>

I see precompiled style content is

@charset "UTF-8";body,table,th,td{family:xxx}...

then i test same style content at local, it doesn't work also, but it works when i append space before body.

@charset "UTF-8"; body,table,th,td{family:xxx}...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment