Git Product home page Git Product logo

htmldoc's Introduction

Hexydec Logo

My name is Will Earp, alias Hexydec, I am a full stack developer based in the UK. I have always had a passion for technology, and was lucky to be in my mid-teens when the Internet started to become a thing.

About Me

After developing a personal website using Microsoft Frontpage (before promptly binning it to edit the raw HTML), I landed job as a web designer in 1998, and haven't stopped developing since.

I love to craft bespoke solutions, that have been implemented from the ground up to produce robust, maintainable and efficient solutions. I have a passion for website performance and databases.

I now use my skills to help make the internet a safer place as Digital Experience Manager at SWGfL, and to develop free software.

Free Software

I have a number of software packages that I have developed which you can use in your projects for free. See my repositories below.

Stats

Hexydec's GitHub stats

Hexydec's language stats

htmldoc's People

Contributors

andremacola avatar dependabot[bot] avatar hexydec avatar jensscherbl avatar

Stargazers

 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

htmldoc's Issues

FatalError

here is the error for laravel please check.
"Declaration of hexydec\html\htmldoc::offsetGet(hexydec\html\mixed $i): hexydec\html\mixed must be compatible with ArrayAccess::offsetGet($offset)"
https://prnt.sc/ZoRL9tt6K9_j

Minifying filter defs in inline SVG

I have some issues with filters and encapsulated tags in the SVG defs section (inline) while minifying:

<svg width="100%" height="100%" viewBox="0 0 460 340" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <filter id="drop-shadow-filter-0" color-interpolation-filters="sRGB" x="-500%" y="-500%" width="1000%" height="1000%">
      ...
      <feComponentTransfer result="offsetblur" in="offset-0">
        <feFuncA id="spread-ctrl" type="linear" slope="1.32"/>
      </feComponentTransfer>
      ...

results in

<svg width="100%" height="100%" viewBox="0 0 460 340" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <filter id="drop-shadow-filter-0" color-interpolation-filters="sRGB" x="-500%" y="-500%" width="1000%" height="1000%">
      ...
      <feComponentTransfer result="offsetblur" in="offset-0"></feComponentTransfer>
      <feFuncA id="spread-ctrl" type="linear" slope="1.32"></feFuncA>
      ...

closing <feComponentTransfer> to early and bringing <feFunc> one level up. None of the options made a difference...

Happy Holidays ๐ŸŽ„

Minifying side-effect of CSS [attribute] Selector

Hey, thanks for the amazing library!

I've been using an older version and just updated to ^1.0.
A couple of notes...

  1. I ran into trouble using composer require hexydec/htmldoc, and ended up needing "minimum-stability": "dev",. What's the best way to update to the latest stable version?
  2. Since updating, I have a new side-effect when minifying a targeting CSS attribute with no value (Vue's "v-cloak").

Before:

<style>
  *[v-cloak] {
    display: none;
  }
</style>

After:

<style>
  v-cloak {
    display: none;
  }
</style>

Thanks

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.