Skip to content

Doesnt work with pseudo classes #13

@Bassquake

Description

@Bassquake

I have a psuedo css style which uses :after which has the pointer-event:none assigned to, basically its a play icon on top of a thumbnail div. But I cant get the pointer_events_polyfill.js to work on it for IE8.

See here for example: http://master.oltaustralia.net/pointer-event.html

Any help appreciated.

Edit: Added styles used in the css file:

div.outer {
position: relative;
background-color: #ff00ff;
width: 200px;
height: 100px;
}
div.outer:after {
content: url(css/img/play_white_ie.png);
position: absolute;
pointer-events: none;
width: 150px;
height: 50px;
top:0;
left:0;
}

Edit 2: Cant get it to work on normal code either. See here:

http://master.oltaustralia.net/pointer-event2.html

Should have a clickable link under the green box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions