-
Notifications
You must be signed in to change notification settings - Fork 89
Iron flex guide does not show code #207
Comments
From @jeffposnick on October 29, 2015 17:45 FWIW, I was seeing this as well with Chrome 46 a few days ago, but I can't reproduce it now on the production site. Running a dev version of the site, you can reproduce it by removing the |
From @hugelgupf on October 29, 2015 17:59 So first of all, I just opened it up again, and I cannot reproduce. Luckily, I still have the old tab open. The only thing in the console is this: /deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details. elements.build.js:40898 Is there something that processes the stuff in code tags to produce the highlighting that could be failing during the build process? I've attached two screenshots comparing the broken/working state of a specific code tag, and it looks like on the broken one, the code that's supposed to be displayed is actually "executed". (Not sure I have the right word for this -- rendered?) |
From @jeffposnick on October 29, 2015 18:25 This portion of the var event = this.fire('syntax-highlight', {code: code});
if (event.detail.code && !els[i].highlighted) {
els[i].highlighted = true;
els[i].innerHTML = event.detail.code;
} AFAIK, |
Yep, rendered is right. If you still have the bad tab open, can you try running this in the console?
If it returns
Or words to that effect. See: https://github.com/Polymer/polymer/blob/master/src/standard/utils.html#L212 But it occurs to me that if |
From @hugelgupf on October 29, 2015 18:45 Console output:
(Sorry I can't be of more help, hadn't done web dev in ages before starting with polymer.) |
From @jeffposnick on October 29, 2015 18:50 Huh, I wouldn't have thought the underlying |
No, that's plenty to go on. I believe it must be a timing issue. @jeffposnick I know, right? Need to open a bug to make that clear in the docs. |
@frankiefu @blasten Weird intermittent catalog bug -- could this be a timing issue? |
I see this as well at https://elements.polymer-project.org/guides/flex-layout right now |
From @hugelgupf on October 29, 2015 14:52
I'm assuming that those grey boxes are not supposed to be empty:
Using up-to-date Chrome on OS X.
Copied from original issue: Polymer/old-docs-site#1395
The text was updated successfully, but these errors were encountered: