css-shapes-polyfill icon indicating copy to clipboard operation
css-shapes-polyfill copied to clipboard

Does not work when shape-rules are nested in @media queries

Open paularmstrong opened this issue 10 years ago • 2 comments

Example:

@media (max-width: 767px) {
  .wrap {
    shape-outside: url(...);
  }
}

Expected: The polyfill will respect the media-query and re-calculate the shape when the media-query is in use.

Actual: Error attempting to run querySelectorAll on @media ...: shapes-polyfill.js#L1379

paularmstrong avatar Dec 21 '14 17:12 paularmstrong

@betravis Is this use case currently handled by the polyfill?

oslego avatar Jan 03 '15 19:01 oslego

Any update on this issue?

stphnwlkr avatar Oct 26 '16 16:10 stphnwlkr