[Webkit-unassigned] [Bug 253462] New: CSS @imports in HTML missing semi-colon and space are mistakenly hidden from CSSPreload Scanner

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 6 13:56:33 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253462

            Bug ID: 253462
           Summary: CSS @imports in HTML missing semi-colon and space are
                    mistakenly hidden from CSSPreload Scanner
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat, WPTImpact
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

Hi Team,

This is continuation bug from bug 191466, where merging Chromium / Blink patch has now resolved one case from our CSS Preloader where 'quote-marks' work.

Attaching Chromium / Blink patch resulted in failing following testcase:

http/tests/loading/preload-css-import-layer.html

______

Antti suggested that it could be because of following:

I think this is wrong since there may be more things to parse after the first ) like in

url("foo.css") layer(foo)

This is causing the test failure.

_____

WPT Test Case - https://wpt.fyi/results/loading?label=master&label=experimental&aligned=&view=subtest&q=loading%2F

preloader-css-import-no-space.tentative.html & preloader-css-import-no-semicolon.tentative.html

_____

Following was skipped from Chromium / Blink patch:

// When reading the rule and hitting ')', which signifies the URL end, emit the rule.
            if (c == ')')
                emitRule();  

While this patch seems to suggest 'Chromium' support of layers in CSS Preloader:

https://chromium.googlesource.com/chromium/src/+/d53bf2d989eb0756ae2689f1b16c2875e5384e5e

_________

Just wanted to raise this so we can track failing test cases and fix them since all other browsers are passing them.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230306/c8a67b52/attachment-0001.htm>


More information about the webkit-unassigned mailing list