RESOLVED WORKSFORME 84126
REGRESSION (r113503?): jsFiddle is broken (CSS :target selector doesn't work inside a cross-origin iframe)
https://bugs.webkit.org/show_bug.cgi?id=84126
Summary REGRESSION (r113503?): jsFiddle is broken (CSS :target selector doesn't work ...
Masataka Yakura
Reported 2012-04-16 21:20:15 PDT
Probably introduced by http://trac.webkit.org/changeset/113503 , the :target selector won't match an element if the document is loaded in a cross-origin iframe. That broke a few online code playground service like jsFiddle.
Attachments
Alexey Proskuryakov
Comment 1 2012-04-17 13:04:09 PDT
Could you please provide steps to reproduce the brokenness with jsFiddle? What exactly is broken?
Thomas Sepez
Comment 2 2012-04-17 15:12:33 PDT
I expect this will be fixed by the changes to https://bugs.webkit.org/show_bug.cgi?id=83721.
Masataka Yakura
Comment 3 2012-04-19 04:19:11 PDT
(In reply to comment #1) > Could you please provide steps to reproduce the brokenness with jsFiddle? What exactly is broken? Oops. Apologies. 1. Open the fiddle page 2. Click "#hoge1" to see if the background of the area around the link becomes red, or click "#hoge2" to see if the background becomes yellow. I've just realised that I tested with a bit of older Nightly build and Chrome Canary. I'll check with the latest build to see it still happens or not.
Masataka Yakura
Comment 4 2012-04-19 04:23:44 PDT
(In reply to comment #2) > I expect this will be fixed by the changes to https://bugs.webkit.org/show_bug.cgi?id=83721. Checked with the latest (r114599) build and the fiddle works as expected. Thanks!
Alexey Proskuryakov
Comment 5 2012-04-19 08:08:01 PDT
Thank you for checking and following up!
Note You need to log in before you can comment on or make changes to this bug.