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

specberus issuing a warning on respec output #831

Closed
iherman opened this issue Jun 16, 2016 · 6 comments
Closed

specberus issuing a warning on respec output #831

iherman opened this issue Jun 16, 2016 · 6 comments
Labels

Comments

@iherman
Copy link
Member

iherman commented Jun 16, 2016

(To be honest, I was not sure whether this is an issue for specberus or for respec, ie, I did not know where to submit the issue. The dice fell on the respec side:-)

When there is highlighting in a respec source, respec adds a bunch of css statements; in particular, it adds:

    .hljs {
      display: block;
      overflow-x: auto;
      padding: 0.5em;
      color: #333;
      background: #f8f8f8;
      -webkit-text-size-adjust: none;
    }

This leads to a warning in specberus, claiming that the -webkit-... property is not acceptable.

I have not found the code in the respec repo for this css, so I cannot offer a PR if it is indeed a respec issue. Sorry about that; just reporting the issue.

Cc: @deniak

@iherman iherman added the bug label Jun 16, 2016
@marcoscaceres
Copy link
Member

I'll look into it tomorrow. The CSS is coming from an upstream source - but I can rip out or change the CSS at save time. However, -webkit stuff is now, sadly, standard and might even be in specs. Need to check.

On 16 Jun 2016, at 9:46 PM, Ivan Herman notifications@github.com wrote:

(To be honest, I was not sure whether this is an issue for specberus or for respec, ie, I did not know where to submit the issue. The dice fell on the respec side:-)

When there is highlighting in a respec source, respec adds a bunch of css statements; in particular, it adds:

.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  color: #333;
  background: #f8f8f8;
  -webkit-text-size-adjust: none;
}

This leads to a warning in specberus, claiming that the -webkit-... property is not acceptable.

I have not found the code in the respec repo for this css, so I cannot offer a PR if it is indeed a respec issue. Sorry about that; just reporting the issue.

Cc: @deniak


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@marcoscaceres
Copy link
Member

https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust

So, it's non standard but we do want this on mobile😖 I guess I'll just rip it out for now.

@marcoscaceres
Copy link
Member

@iherman, can one still publish if the warning is there?

@iherman
Copy link
Member Author

iherman commented Jun 17, 2016

Well, I guess for every warning it is a matter of discussing it with the webmaster, who is the ultimate authority...

I think this is something that should be discussed with @deniak, our current webmaster. I would only add as a go-between, which is hardly an efficient way of handling this:-)

@marcoscaceres
Copy link
Member

/me hands @iherman a can with a string 😆

@deniak - I can see why -webkit-text-size-adjust: none; was added by github.css - as it would presumably mess code examples up on mobile devices. As an iOS user, I'm a little bit scared about removing it.

@marcoscaceres
Copy link
Member

Seems that "webkit-text-size-adjust" vanished from the style sheet upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants