Giter VIP home page Giter VIP logo

construct.css's People

Contributors

denmch avatar mundizzle avatar nathansmith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

construct.css's Issues

Bookmarklet needs encoding in macOS Chrome 69

I loaded up https://t7.github.io/trashy.css/ in Safari and was able to get it to work. I then copied the URL from the Safari Bookmarklet to Chrome and noticed that the whitespaces need to be encoded for it to work in Chrome. Anyone else have this problem?

Dragging the bookmarklet link from the page into the bookmarks bar does not work for me.

Errors incorrectly flagged on description lists

I've tried Trashy.css out on a few sites, and one thing I noticed is that it incorrectly indicates some errors on description lists.

A description list is permitted by spec to contain divs, which is a useful thing for styling discrete term-description groups. E.g.,:

<dl>
  <div>
    <dt>Foo</dt>
    <dd>Bar baz.</dd>
  </div>
  <div>
    <dt>Lorem</dt>
    <dd>Ipsum dolor sit amet.</dd>
    <dd>Also, yadda yadda yadda.</dd>
  </div>
</dl>

Trashy.css currently flags two errors on description lists that use divs in this way:

  • <dt> is missing a parent of <dl>
  • Immediate child of <dl> must be <dt> or <dd>

The immediate child of a <dl> really should be either a <div> or a grouping of one or more <dt>s and <dd>s, but I can't imagine that's as easy to check for. But <dd> alone as the immediate child violates the content model.

Trashy Css no longer working

Hello I read about trashy css and saved the bookmark in September from this URL
https://css-tricks.com/introducing-trashy-css/

Recently, when I try to use it it doesn't work, is this because the name of the repo has changed?
Or is it since updating to Chrome 70?

Here is the code I've saved in the bookmark:

javascript:( function (d) { var f = Array.prototype.forEach; var linkTags = d.querySelectorAll('[rel=\'stylesheet\']'); var styleTags = d.querySelectorAll('style'); f.call(linkTags, function (x) { x.rel = ''; }); f.call(styleTags, function (x) { x.innerHTML = ''; }); var newLink = d.createElement('link'); newLink.rel = 'stylesheet'; newLink.href = 'https://t7.github.io/trashy.css/css/bookmarklet.css'; d.head.appendChild(newLink); } )(document);

Thanks for the help Rob

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.