WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 82384
Separate @import rules from other rules in CSSStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=82384
Summary
Separate @import rules from other rules in CSSStyleSheet
Antti Koivisto
Reported
2012-03-27 14:46:51 PDT
Import rules always come before all other rules (except @charset). They currently live in the generic child rule vector. They can be moved to a vector of their own for stronger typing and more focused traversal. This will also make future refactoring easier.
Attachments
patch
(14.30 KB, patch)
2012-03-27 15:03 PDT
,
Antti Koivisto
kling
: review+
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ec2-cr-linux-03
(10.01 MB, application/zip)
2012-03-27 16:03 PDT
,
WebKit Review Bot
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2012-03-27 15:03:38 PDT
Created
attachment 134145
[details]
patch
WebKit Review Bot
Comment 2
2012-03-27 15:07:32 PDT
Attachment 134145
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/css/CSSStyleSheet.cpp:347: Missing space before { [whitespace/braces] [5] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexis Menard (darktears)
Comment 3
2012-03-27 15:13:42 PDT
Comment on
attachment 134145
[details]
patch Looks good to me. You need to fix the style issue (or as kling would say : "where you derped")
WebKit Review Bot
Comment 4
2012-03-27 16:02:56 PDT
Comment on
attachment 134145
[details]
patch
Attachment 134145
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/12143810
New failing tests: fast/dom/css-cached-import-rule.html fast/css/import-and-insert-rule-no-update.html fast/dom/css-insert-import-rule.html
WebKit Review Bot
Comment 5
2012-03-27 16:03:03 PDT
Created
attachment 134159
[details]
Archive of layout-test-results from ec2-cr-linux-03 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-03 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Andreas Kling
Comment 6
2012-03-27 16:06:53 PDT
(In reply to
comment #4
)
> (From update of
attachment 134145
[details]
) >
Attachment 134145
[details]
did not pass chromium-ews (chromium-xvfb): > Output:
http://queues.webkit.org/results/12143810
> > New failing tests: > fast/dom/css-cached-import-rule.html > fast/css/import-and-insert-rule-no-update.html > fast/dom/css-insert-import-rule.html
I trusted you, man :'(
Alexis Menard (darktears)
Comment 7
2012-03-27 16:09:35 PDT
(In reply to
comment #6
)
> (In reply to
comment #4
) > > (From update of
attachment 134145
[details]
[details]) > >
Attachment 134145
[details]
[details] did not pass chromium-ews (chromium-xvfb): > > Output:
http://queues.webkit.org/results/12143810
> > > > New failing tests: > > fast/dom/css-cached-import-rule.html > > fast/css/import-and-insert-rule-no-update.html > > fast/dom/css-insert-import-rule.html > > I trusted you, man :'(
Ouuchhhhh </3
Antti Koivisto
Comment 8
2012-03-28 03:43:07 PDT
http://trac.webkit.org/changeset/112382
Turned out that that removing explicit styleSheetChanged() call for @import insertions causes problems so I kept that for now with a FIXME.
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