template and snippet examples in enfocus site not working as expected

25 views
Skip to first unread message

Carlos Sam Alisson Nunes

unread,
Apr 22, 2014, 9:25:37 PM4/22/14
to enf...@googlegroups.com
Hello,

Go to: http://ckirkendall.github.io/enfocus-site/#doc-template

In the deftemplate section, if you click the button the table appears at the end of the page instead of the expected place. The same thing happens with defsnippet.


Creighton Kirkendall

unread,
Apr 22, 2014, 10:11:44 PM4/22/14
to Enfocus
Thanks for the heads up.  

Creighton


--

---
You received this message because you are subscribed to the Google Groups "Enfocus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enfocus+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ckirkendall

unread,
Apr 26, 2014, 7:05:43 AM4/26/14
to enf...@googlegroups.com
This is fixed now.  It turns out it was do the css3 selector being handled differently by different browsers.

<tbody>
    <tr>
        <td>...</td><td>...</td>
    </tr>
</tbody>

Firefox:
tr > *:last-child  = <td>

Chrome:
tr > *:last-child = "\n       "

Got to love standardization.  Note this issue was first noted to only exist in chrome on windows but recent updates to chrome on linux brought us the same behavior.

Creighton
Reply all
Reply to author
Forward
0 new messages