Giter Club home page Giter Club logo

Comments (9)

lojjic avatar lojjic commented on June 16, 2024

Thanks for reporting. Would you be able to put together a minimal testcase document demonstrating what you're seeing not work? PIE should react to :hover already (the css3pie.com site uses it in the menu on the right, for instance, even though it's slow) but it's possible certain combinations of styles don't work.

from pie.

benzimmer avatar benzimmer commented on June 16, 2024

let's see :)
i set a style for hovering links like this:

a:hover {
  background: #222;
  border-radius:3px;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  behavior:url(blah/PIE.htc);
}

But the hovering links don't get rounded corners.
Second is just a table row with hovering:

tr:hover {
  background:rgba(255,255,255,0.5};
  -pie-background:rgba(255,255,255,0.5);
  behavior:url(blah/PIE.htc);
}

But no color is shown when I hover over the table rows.

On the HTML side there's nothing special to tell, just simple links and tables...

from pie.

lojjic avatar lojjic commented on June 16, 2024

Thanks, that helps a lot. I'll look into this when I get a chance.

from pie.

jacobdubail avatar jacobdubail commented on June 16, 2024

I'm seeing something similar, but different. I have an element that has rounded corners with & without hover. I notice that when I apply PIE.htc to it, the hover state takes about 1 second to render...
I also noticed that when I apply PIE.htc to an grandparent element - page-wrap with a background + box-shadow - the hovered element also takes about 1 second to render.

you can see it here. http://jacobdubail.com/jacobdubail/examples/csr/index.html

from pie.

lojjic avatar lojjic commented on June 16, 2024

Thanks Jacob. There is definitely a performance issue with hovering. You can see a similar thing on the css3pie.com site's menu, though it's not quite as bad as yours. I'll be trying to optimize that here soon.

from pie.

jacobdubail avatar jacobdubail commented on June 16, 2024

Thanks! I'm really enjoying this little gem you created.

from pie.

 avatar commented on June 16, 2024

I just noticed that the hover has another bug. I have a link (A-TAG) displayed as a block to create a large button with a background image. Only the part of the button that contains text now reacts to the mouse. Without PIE the whole button reacts to the mouse moving over it. The following image explains this issue better and includes the used CSS (except for behavior file inclusion): http://www.xirtcms.com/PIE_bug_1.jpg

from pie.

lojjic avatar lojjic commented on June 16, 2024

@ArnoOnline: I've opened issue #47 to track that hovering issue.

from pie.

lojjic avatar lojjic commented on June 16, 2024

I believe this is just because IE doesn't honor the behavior property inside a :hover pseudoclass selector. Adding the behavior to a default-state selector makes it get applied and then PIE handles responding to the :hover action automatically.

I'm closing this issue since that's an easy workaround, and there's no way to make IE behave otherwise anyway. Reopen if I'm totally missing the point of this. ;)

from pie.

Related Issues (20)

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.