WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
38771
IE9 test failure: "HIERARCHY_REQUEST_ERR raised if @import rule inserted after a regular rule"
https://bugs.webkit.org/show_bug.cgi?id=38771
Summary
IE9 test failure: "HIERARCHY_REQUEST_ERR raised if @import rule inserted afte...
James Robinson
Reported
2010-05-07 13:25:18 PDT
Firefox 3.6 and IE9 preview pass.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2010-05-07 23:01:37 PDT
I had some trouble parsing the original summary - hopefully the reworded one is better. I wanted to reword even more, but then the relationship to IE test suite would be lost. Maybe we should have a meta bug for these to avoid filing duplicates with different titles. <style type="text/css"> body { color: blue; } div { color: red; } </style> <script> // Should raise an exception document.styleSheets[0].insertRule("@import url(testStyle1.css);", 1); </script>
Rob Buis
Comment 2
2010-06-06 08:49:04 PDT
I looked into this, the problem is not that there is no exception thrown (there is already a test for that in the LayoutTests). The problem rather is that the check after the exception catch relies on backgroundColor returning transparant, where WebKit returns rgba(0, 0, 0, 0). So either the linked test needs to be fixed (may be unlikely) or we need to return transparant instead of rgba(0, 0, 0, 0). If there are plans to do that anyway this issue could be closed. Thoughts? Cheers, Rob.
Simon Fraser (smfr)
Comment 3
2010-06-06 08:58:41 PDT
Is this a dup of
bug 36281
?
Rob Buis
Comment 4
2010-06-06 09:03:38 PDT
Hello Simon, (In reply to
comment #3
)
> Is this a dup of
bug 36281
?
I think so. However if you try the linked original MS testcase trunk still seems to fail it? So either that bug was closed incorrectly, the original test changed or the fix was thought to mean "good enough" anyway. Unless I am missing something, IMHO best thing may be to close this one aw well and consider either fixing the transparant vs.rgba issue or contact the original testcase writers to make it more tolerant. Cheers, Rob.
Alexey Proskuryakov
Comment 5
2010-06-06 10:38:53 PDT
The fix for
bug 36281
was partially reverted, because it caused a regression. See
bug 36700
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug