[wpt-sync] Sync PR 61993 - [css-mixins] Fix !important parser bug and add tests
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox156 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61993 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61993
Details from upstream follow.
Brandon Walderman <brwalder@microsoft.com> wrote:
[css-mixins] Fix !important parser bug and add tests
CSSWG resolved that !important invalidates declarations in function
bodies, function and mixin arguments, and private/local blocks. It
remains valid in mixin result declarations, where normal cascading
applies.Blink mostly implements the currently supported parts of this behavior.
There was a bug in css_variable_parser.cc in ConsumeCustomFunction. In
the case where a CSS value was wrapped in braces, parsing a valid CSS
value would potentially leave tokens (such as!important) unconsumed
within the braces.Adding WPT coverage for function descriptors and conditional bodies,
function and mixin arguments, mixin parameter defaults and locals, and
valid !important in mixin results. Coverage for the bug fix is also
included.Bug: 542582974
Change-Id: I1a6c299c0a0f9a51999e99aec892c3169d8cbe23Reviewed-on: https://chromium-review.googlesource.com/8259575
WPT-Export-Revision: 9e8ff435eea9684a4a28625ebc41359d80bdae2a
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d968197c801caa2e18cf19f600843ff9da001ef9
| Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 48 tests and 4 subtests
Status Summary
Firefox
OK : 4[GitHub] 48[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 35[GitHub] 102[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 65[GitHub] 434[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 4
PASS: 98
FAIL: 2
Safari
OK : 4
PASS: 89
FAIL: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-mixins/functions/at-function-cssom.html [wpt.fyi]
- Empty CSSFunctionRule:
FAILlinked bug:Bug 2053886 - Single CSSFunctionDeclarations:
FAILlinked bug:Bug 2053886 - CSSFunctionDescriptors (result):
FAILlinked bug:Bug 2053886 - CSSFunctionDescriptors (result, repeated):
FAILlinked bug:Bug 2053886 - CSSFunctionDescriptors (local variables):
FAILlinked bug:Bug 2053886 - CSSFunctionDescriptors (local variables, repeated):
FAILlinked bug:Bug 2053886 - CSSFunctionDescriptors (local variables and result):
FAILlinked bug:Bug 2053886 - CSSFunctionDescriptors serialization:
FAILlinked bug:Bug 2053886 - Unknown descriptors:
FAILlinked bug:Bug 2053886 - !important invalidates declarations in function bodies:
FAIL - !important invalidates declarations in conditional function bodies:
FAIL - item():
FAILlinked bug:Bug 2053886 - @supports in body:
FAILlinked bug:Bug 2053886 - CSSFunctionRule.name:
FAILlinked bug:Bug 2053886 - CSSFunctionRule.getParameters():
FAILlinked bug:Bug 2053886 - CSSFunctionRule.returnType:
FAILlinked bug:Bug 2053886 - CSSFunctionRule escapes:
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--empty):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--ret-length):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--ret-length-auto):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--param-single):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--param-typed):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--param-typed-default):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--param-default):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--param-multi):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--param-multi-mixed):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--body-result):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--body-locals):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--param-type-fn):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--param-type-fn-uni):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--ret-type-fn):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--ret-type-fn-uni):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--body-result-multi):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--escaped-):
FAILlinked bug:Bug 2053886 - CSSFunctionRule.cssText (--identy):
FAIL
- Empty CSSFunctionRule:
- /css/css-mixins/functions/dashed-function-parsing.html [wpt.fyi]
- e.style['top'] = "--func()" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func(auto)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func(100px)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func(#fff)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func(auto, 100px, #fff)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func(auto ,100px ,#fff)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func(auto , 100px , #fff)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func(auto,100px,#fff)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func("thing")" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func(--bar(), --baz(--fez()))" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func({1}, 2)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func({ 1}, 2)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func({1 }, 2)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func({ 1 }, 2)" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func({1},{2})" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func({1, 2, 3},{4})" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func({,},{4})" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func({{}},{4})" should set the property value:
FAILlinked bug:Bug 2053886 - e.style['top'] = "--func({[]},{4})" should set the property value:
FAILlinked bug:Bug 2053886
- e.style['top'] = "--func()" should set the property value:
New Tests That Don't Pass
- /css/css-mixins/functions/at-function-cssom.html [wpt.fyi]
- Empty CSSFunctionRule:
FAIL(Chrome:PASS, Safari:PASS) - Single CSSFunctionDeclarations:
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionDescriptors (result):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionDescriptors (result, repeated):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionDescriptors (local variables):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionDescriptors (local variables, repeated):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionDescriptors (local variables and result):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionDescriptors serialization:
FAIL(Chrome:PASS, Safari:PASS) - Unknown descriptors:
FAIL(Chrome:PASS, Safari:PASS) - !important invalidates declarations in function bodies:
FAIL(Chrome:PASS, Safari:PASS) - !important invalidates declarations in conditional function bodies:
FAIL(Chrome:PASS, Safari:PASS) - Unknown descriptors (mutation):
FAIL(Chrome:PASS, Safari:FAIL) - item():
FAIL(Chrome:PASS, Safari:PASS) - Indexed property getter:
FAIL(Chrome:FAIL, Safari:PASS) - @supports in body:
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.name:
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.getParameters():
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.returnType:
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule escapes:
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--empty):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--ret-length):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--ret-length-auto):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--param-single):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--param-typed):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--param-typed-default):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--param-default):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--param-multi):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--param-multi-mixed):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--body-result):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--body-locals):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--param-type-fn):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--param-type-fn-uni):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--ret-type-fn):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--ret-type-fn-uni):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--body-result-multi):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--escaped-):
FAIL(Chrome:PASS, Safari:PASS) - CSSFunctionRule.cssText (--identy):
FAIL(Chrome:PASS, Safari:PASS)
- Empty CSSFunctionRule:
- /css/css-mixins/functions/at-function-parsing.html [wpt.fyi]
- @function --foo() is valid:
FAIL - @function --foo( ) is valid:
FAIL - @function --foo(--x) is valid:
FAIL - @function --foo( --x ) is valid:
FAIL - @function --foo(--x auto) is valid:
FAIL - @function --foo(--x <angle>) is valid:
FAIL - @function --foo(--x <color>) is valid:
FAIL - @function --foo(--x <custom-ident>) is valid:
FAIL - @function --foo(--x <image>) is valid:
FAIL - @function --foo(--x <integer>) is valid:
FAIL - @function --foo(--x <length>) is valid:
FAIL - @function --foo(--x <length-percentage>) is valid:
FAIL - @function --foo(--x <number>) is valid:
FAIL - @function --foo(--x <percentage>) is valid:
FAIL - @function --foo(--x <resolution>) is valid:
FAIL - @function --foo(--x <string>) is valid:
FAIL - @function --foo(--x <time>) is valid:
FAIL - @function --foo(--x <url>) is valid:
FAIL - @function --foo(--x <transform-function>) is valid:
FAIL - @function --foo(--x <transform-list>) is valid:
FAIL - @function --foo(--x type(auto)) is valid:
FAIL - @function --foo(--x type(<length>)) is valid:
FAIL - @function --foo(--x type(<length> | auto)) is valid:
FAIL - @function --foo(--x type(none | auto)) is valid:
FAIL - @function --foo(--x type(*)) is valid:
FAIL - @function --foo(--x, --y) is valid:
FAIL - @function --foo(--x, --y, --z) is valid:
FAIL - @function --foo(--x <length>, --y, --z) is valid:
FAIL - @function --foo(--x, --y <number>, --z <angle>) is valid:
FAIL - @function --foo(--x : 10px) is valid:
FAIL - @function --foo(--x type(*): 10px) is valid:
FAIL - @function --foo(--x <length>: 10px) is valid:
FAIL - @function --foo(--x <length>: 10px, --y) is valid:
FAIL - @function --foo(--x, --y <length>: 10px) is valid:
FAIL - @function --foo(--x type(<length> | auto): auto) is valid:
FAIL - @function --foo(--x type(<length> | auto) : auto) is valid:
FAIL - @function --foo(--x:1px, --y, --z:2px) is valid:
FAIL - @function --foo(--x <length>#) is valid:
FAIL - @function --foo(--x <length>+) is valid:
FAIL - @function --foo(--x type(<length>+)) is valid:
FAIL - @function --foo(--x <transform-function>#) is valid:
FAIL - @function --foo(--x <transform-function>+) is valid:
FAIL - @function --foo(--x) returns type(*) is valid:
FAIL - @function --foo(--x) returns <length> is valid:
FAIL - @function --foo(--x) returns <length>+ is valid:
FAIL - @function --foo(--x) returns type(<length>) is valid:
FAIL - @function --foo(--x) returns type(<length> | auto) is valid:
FAIL - @function --foo(--x) returns type(foo | bar) is valid:
FAIL
- @function --foo() is valid:
- /css/css-mixins/functions/dashed-function-cycles.html [wpt.fyi]
- Local with self-cycle:
FAIL - Cycle reference without fallback makes result invalid:
FAIL - Local with self-cycle in unused fallback:
FAIL - Local shadowing cyclic property --x:
FAIL - Local shadowing cyclic outer local --x:
FAIL - Argument shadowing cyclic outer local --x:
FAIL - Arguments shadowing cyclic properties:
FAIL - Observing property cycle locally:
FAIL - Using cyclic values with no fallback:
FAIL - Self-cycle in non-used local variable:
FAIL - Using cyclic value in unused fallback:
FAIL - Using cyclic value in unused fallback (local):
FAIL - Dashed-function, self-cycle:
FAIL - Cycle through other function (--g):
FAIL - Cycle through other function (--f):
FAIL - Cycle through local, self:
FAIL - Cycle through unused local:
FAIL - Cycle through global, self:
FAIL - Cycle through local, other function:
FAIL - Cycle through local, other function, fallback in function:
FAIL - Cycle through various variables and other functions:
FAIL - Function in a cycle with its own default:
FAIL - Cyclic defaults:
FAIL - Cyclic outer --b shadows custom property:
FAIL - Locals are function specific:
FAIL
- Local with self-cycle:
- /css/css-mixins/functions/dashed-function-eval.html [wpt.fyi]
- Literal result:
FAIL - Literal result, typed return:
FAIL - Literal result, typed return, calc:
FAIL - Literal result, typed return, mismatch:
FAIL - Missing result descriptor:
FAIL - Literal result, empty:
FAIL - result cascading behavior:
FAIL - Another dashed-function in result:
FAIL - Unused argument:
FAIL - Single parameter:
FAIL - Multiple parameters:
FAIL - Single parameter, typed:
FAIL - Typed parameter with calc():
FAIL - Untyped parameter with calc():
FAIL - Various typed parameters:
FAIL - Parameter with complex type (auto):
FAIL - Parameter with complex type (px):
FAIL - Passing argument to inner function:
FAIL - var() in argument resolved before call:
FAIL - var() in argument resolved before call, typed:
FAIL - Argument captures IACVT due to invalid var():
FAIL - Argument captures IACVT due to invalid var(), typed:
FAIL - Argument captures IACVT due to type mismatch:
FAIL - Single parameter with default value:
FAIL - Multiple parameters with defaults:
FAIL - Multiple parameters with defaults, typed:
FAIL - Default referencing another parameter:
FAIL - Default referencing another parameter, local interference:
FAIL - Default referencing another defaulted parameter:
FAIL - Typed default with reference:
FAIL - IACVT arguments are defaulted:
FAIL - IACVT arguments are defaulted, typed:
FAIL - Arguments are defaulted on type mismatch:
FAIL - Unused local:
FAIL - Local does not affect outer scope:
FAIL - Substituting local in result:
FAIL - Substituting multiple locals in result:
FAIL - Local referring to another local:
FAIL - Locals appearing after result:
FAIL - Locals cascading behavior:
FAIL - Custom properties are visible inside function:
FAIL - Substitute local from outer scope:
FAIL - Substitute argument from outer scope:
FAIL - Inner argument shadowing outer argument:
FAIL - Inner argument shadowing outer local:
FAIL - Inner local shadowing outer argument:
FAIL - Inner local shadowing outer local:
FAIL - Referencing outer local containing var():
FAIL - Referencing outer typed argument:
FAIL - Same function with different scopes:
FAIL - Referencing local two frames up:
FAIL - IACVT outer local shadows property:
FAIL - Inner function call should see resolved outer locals:
FAIL - Inner function call should see resolved outer locals (reverse):
FAIL - Parameter shadows custom property:
FAIL - Local shadows parameter:
FAIL - IACVT argument shadows outer scope:
FAIL - IACVT argument shadows outer scope, typed:
FAIL - IACVT argument shadows outer scope, type mismatch:
FAIL - Missing only argument:
FAIL - Missing one argument of several:
FAIL - Passing list as only argument:
FAIL - Passing list as first argument:
FAIL - Passing list as second argument:
FAIL - Passing comma as argument:
FAIL - Passing {} as argument:
FAIL - Passing non-whole-value {} as argument:
FAIL - Local variable with initial keyword:
FAIL - Local variable with initial keyword, defaulted:
FAIL - Local variable with initial keyword, no value via IACVT-capture:
FAIL - Default with initial keyword:
FAIL - initial appearing via fallback:
FAIL - Local variable with inherit keyword:
FAIL - Local variable with inherit keyword (nested):
FAIL - Inheriting an invalid value:
FAIL - Default with inherit keyword:
FAIL - Default with inherit keyword (nested):
FAIL - Local with the unset keyword:
FAIL - Local with the revert keyword:
FAIL - Local with the revert-layer keyword:
FAIL - Local with the revert-rule keyword:
FAIL - initial keyword left unresolved on result descriptor:
FAIL - inherit keyword left unresolved on result descriptor:
FAIL - unset keyword left unresolved on result descriptor:
FAIL - revert keyword left unresolved on result descriptor:
FAIL - revert-layer keyword left unresolved on result descriptor:
FAIL - revert-rule keyword left unresolved on result descriptor:
FAIL - Keyword can be returned from function into local variable:
FAIL - Can not return CSS-wide keyword as length:
FAIL
- Literal result:
- /css/css-mixins/functions/dashed-function-named-arg.tentative.html [wpt.fyi]
- e.style['top'] = "--func(myident)" should set the property value:
FAIL - e.style['top'] = "--func(--myident)" should set the property value:
FAIL - e.style['top'] = "--func(--)" should set the property value:
FAIL - e.style['top'] = "--func(50px --myident:)" should set the property value:
FAIL - e.style['top'] = "--func({--myident:})" should set the property value:
FAIL - e.style['top'] = "--func({ --myident:})" should set the property value:
FAIL - e.style['top'] = "--func({--myident :})" should set the property value:
FAIL - e.style['top'] = "--func({--myident: })" should set the property value:
FAIL - e.style['top'] = "--func(10px, { --myident : })" should set the property value:
FAIL
- e.style['top'] = "--func(myident)" should set the property value:
- /css/css-mixins/functions/dashed-function-parsing.html [wpt.fyi]
- e.style['top'] = "--func()" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func(auto)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func(100px)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func(#fff)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func(auto, 100px, #fff)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func(auto ,100px ,#fff)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func(auto , 100px , #fff)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func(auto,100px,#fff)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func("thing")" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func(--bar(), --baz(--fez()))" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func({1}, 2)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func({ 1}, 2)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func({1 }, 2)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func({ 1 }, 2)" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func({1},{2})" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func({1, 2, 3},{4})" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func({,},{4})" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func({{}},{4})" should set the property value:
FAIL(Chrome:PASS, Safari:PASS) - e.style['top'] = "--func({[]},{4})" should set the property value:
FAIL(Chrome:PASS, Safari:PASS)
- e.style['top'] = "--func()" should set the property value:
- /css/css-mixins/functions/dashed-function-standard-property.html [wpt.fyi]
- <dashed-function> in longhand:
FAIL - <dashed-function> with typed result in longhand:
FAIL - <dashed-function> with in inherited longhand:
FAIL - <dashed-function> with typed result in shorthand:
FAIL
- <dashed-function> in longhand:
- /css/css-mixins/functions/function-attr.html [wpt.fyi]
- Return untyped url() from function:
FAIL - Return untyped url() from function, quoted:
FAIL - Return typed url() from function:
FAIL - Return typed url() from function, quoted:
FAIL - Return attr(type(<length>)) from untyped function:
FAIL - Return attr(type(<length>)) from typed function:
FAIL - Return attr(type(*)) from typed function:
FAIL - Return attr(type(*)) from untyped function:
FAIL - attr() in default parameter value:
FAIL - attr() in local variable:
FAIL
- Return untyped url() from function:
- /css/css-mixins/functions/function-conditionals.html [wpt.fyi]
- Basic @supports:
FAIL - Basic @supports (false):
FAIL - Nested @supports:
FAIL - Nested @supports (false):
FAIL - Inconsequential conditional:
FAIL - @supports with locals:
FAIL - Basic @media:
FAIL - Basic @media (false):
FAIL - Nested @media:
FAIL - Nested @media (false):
FAIL - Locals within @media:
FAIL - @supports within @media:
FAIL - @media within @supports:
FAIL - Basic @container:
FAIL - Basic @container (false):
FAIL - Nested @container:
FAIL - Nested @container (false):
FAIL - Locals within @container:
FAIL - @supports within @container:
FAIL - @container within @supports:
FAIL - @container, @media, @supports:
FAIL - @supports, @media, @container:
FAIL
- Basic @supports:
- /css/css-mixins/functions/function-container-dynamic.html [wpt.fyi]
- Custom Functions: @container responds to changes:
FAIL
- Custom Functions: @container responds to changes:
- /css/css-mixins/functions/function-container-self.html [wpt.fyi]
- Custom Functions: @container can not query self:
FAIL
- Custom Functions: @container can not query self:
- /css/css-mixins/functions/function-container-style.html [wpt.fyi]
- Style query on #target should query parent element:
FAIL - Style query on ::before should query originating element:
FAIL
- Style query on #target should query parent element:
- /css/css-mixins/functions/function-in-media.html [wpt.fyi]
- Custom Functions: @function inside @media:
FAIL
- Custom Functions: @function inside @media:
- /css/css-mixins/functions/function-invalidation.html [wpt.fyi]
- Appending a rule:
FAIL - Prepending a rule:
FAIL - Deleting a rule:
FAIL - Prepending a rule, then deleting last:
FAIL
- Appending a rule:
- /css/css-mixins/functions/function-layer.html [wpt.fyi]
- Single function within anonymous layer:
FAIL - Last anonymous layer wins:
FAIL - Unlayered styles win:
FAIL - Unlayered styles win, reverse:
FAIL - Single named layer:
FAIL - Named layers:
FAIL - Named layers, reordered:
FAIL
- Single function within anonymous layer:
- /css/css-mixins/functions/function-media-dynamic.html [wpt.fyi]
- Custom Functions: @media responds to changes:
FAIL
- Custom Functions: @media responds to changes:
- /css/css-mixins/functions/function-parameter-types.tentative.html [wpt.fyi]
- A parameter retains its type:
FAIL - A parameter type acts as a local registration:
FAIL - A parameter retains its type (parent stack frame):
FAIL - A parameter type acts as a local registration (parent stack frame):
FAIL - Universally typed parameter can shadow other parameters:
FAIL - Invalid value for typed local becomes IACVT:
FAIL - if() within @function can query registered custom property:
FAIL
- A parameter retains its type:
- /css/css-mixins/functions/function-shadow-animations.html [wpt.fyi]
- Can animate standard property in shadow:
FAIL - Can animate typed custom property in shadow:
FAIL - Can animate untyped custom property in shadow:
FAIL
- Can animate standard property in shadow:
- /css/css-mixins/functions/function-shadow-cache.html [wpt.fyi]
- Tree scope is respected for otherwise identical styles:
FAIL
- Tree scope is respected for otherwise identical styles:
- /css/css-mixins/functions/function-shadow-container.html [wpt.fyi]
- Can query named container in shadow:
FAIL - ::part() can see inner named containers:
FAIL - ::slotted() can see inner named containers:
FAIL
- Can query named container in shadow:
- /css/css-mixins/functions/function-shadow.html [wpt.fyi]
- @function works inside shadow:
FAIL - Looking up document-global function:
FAIL - @function works inside nested shadow:
FAIL - @function defined in outer shadow is visible:
FAIL - Combining functions from various scopes:
FAIL - ::part() can not see inner functions:
FAIL - ::slotted() can see inner functions:
FAIL - :host can see inner functions:
FAIL - Outer functions can't see inner functions:
FAIL - Outer functions can't see inner functions (local vars):
FAIL - Function with same name in different scopes:
FAIL
- @function works inside shadow:
- /css/css-mixins/functions/local-attr-substitution.html [wpt.fyi]
- var() in attribute value substitutes locally:
FAIL - var() in attribute value substitutes locally, argument:
FAIL - var() in attribute value substitutes locally, typed:
FAIL - attr() fallback substitutes locally:
FAIL - attr() cycle through local:
FAIL - attr() cycle through unused fallback in local:
FAIL - attr() cycle through function:
FAIL
- var() in attribute value substitutes locally:
- /css/css-mixins/functions/local-if-substitution.html [wpt.fyi]
- var() in if() condition's custom property value substitutes locally:
FAIL - var() in if() condition's specified value substitutes locally:
FAIL - var() in if() declaration value substitutes locally:
FAIL - var() in if() condition's custom property value substitutes locally, argument:
FAIL - var() in if() condition's specified value substitutes locally, argument:
FAIL - var() in if() declaration value substitutes locally, argument:
FAIL - dashed function in if() declaration value:
FAIL - dashed function with argument in if() declaration value:
FAIL - if() cycle through local:
FAIL - if() cycle in condition custom property through local:
FAIL - if() cycle in condition specified value through local:
FAIL - if() cycle through function:
FAIL - if() no cycle in overridden local:
FAIL - if() no cycle in overridden argument:
FAIL - CSS-wide keywords are interpreted locally (initial):
FAIL - CSS-wide keywords are interpreted locally (inherit):
FAIL - CSS-wide keywords are interpreted locally (guaranteed-invalid, initial):
FAIL - CSS-wide keywords are interpreted locally (guaranteed-invalid, unset):
FAIL - CSS-wide keywords are interpreted locally (revert):
FAIL - CSS-wide keywords are interpreted locally (revert-layer):
FAIL
- var() in if() condition's custom property value substitutes locally:
- /css/css-mixins/functions/local-inherit-substitution.html [wpt.fyi]
- inherit() refers to parent stack frame (element):
FAIL - inherit() refers to parent stack frame (other function call):
FAIL - inherit() referring to guaranteed-invalid in parent frame:
FAIL - inherit() referring to cycle in parent frame:
FAIL - inherit() referring to typed value in parent frame:
FAIL
- inherit() refers to parent stack frame (element):
- /css/css-mixins/functions/local-var-substitution.html [wpt.fyi]
- Fallback directly in result:
FAIL - Fallback via present, but invalid local:
FAIL - Fallback is locally resolved (result):
FAIL - Fallback is locally resolved (local var):
FAIL
- Fallback directly in result:
- /css/css-mixins/mixins/apply-nested-declarations.html [wpt.fyi]
- Can mix declarations into pseudo-elements:
FAIL
- Can mix declarations into pseudo-elements:
- /css/css-mixins/mixins/apply-within-mixin.html [wpt.fyi]
- CSS Mixins: Mixins depending on other mixins:
FAIL
- CSS Mixins: Mixins depending on other mixins:
- /css/css-mixins/mixins/contents-nested-declarations-fallback.html [wpt.fyi]
- Can mix declarations into pseudo-elements via @contents:
FAIL
- Can mix declarations into pseudo-elements via @contents:
- /css/css-mixins/mixins/contents-nested-declarations.html [wpt.fyi]
- Can mix declarations into pseudo-elements via @contents:
FAIL
- Can mix declarations into pseudo-elements via @contents:
- /css/css-mixins/mixins/contents-rule.html [wpt.fyi]
- Simple @contents with no fallback:
FAIL - Implicit semicolon after @contents, at end of block:
FAIL - Block in @apply overrides fallback:
FAIL - Fallback is used if @apply has no block:
FAIL - Empty @contents block is allowed, but does nothing:
FAIL - Empty @contents parameter does not crash:
FAIL - @apply with no block uses the @contents fallback:
FAIL
- Simple @contents with no fallback:
- /css/css-mixins/mixins/important.html [wpt.fyi]
- !important is valid in mixin result declarations:
FAIL(Chrome:PASS, Safari:FAIL)
- !important is valid in mixin result declarations:
- /css/css-mixins/mixins/mixin-basic.html [wpt.fyi]
- CSS Mixins: Basic test:
FAIL
- CSS Mixins: Basic test:
- /css/css-mixins/mixins/mixin-conditionals.html [wpt.fyi]
- @media and @supports wrapping @result:
FAIL - @container wrapping @result:
FAIL - @media and @supports wrapping locals:
FAIL - @container wrapping locals:
FAIL - @container wrapping locals with different container is not cached:
FAIL - Bare locals overriding earlier conditional-wrapped locals:
FAIL - Nested @media and @container locals:
FAIL
- @media and @supports wrapping @result:
- /css/css-mixins/mixins/mixin-cross-stylesheet.html [wpt.fyi]
- CSS Mixins: Mixin from another stylesheet:
FAIL
- CSS Mixins: Mixin from another stylesheet:
- /css/css-mixins/mixins/mixin-cssom.tentative.html [wpt.fyi]
- serialization of @mixin:
FAIL - serialization of rule with @apply:
FAIL - serialization of @mixin with @contents:
FAIL - serialization of rule with @apply and contents argument:
FAIL - serialization of @mixin with parameters:
FAIL - serialization of @mixin defined without a parameter list:
FAIL - serialization of @apply with an empty contents block:
FAIL
- serialization of @mixin:
- /css/css-mixins/mixins/mixin-cycle.tentative.html [wpt.fyi]
- CSS Mixins: Cycles:
FAIL
- CSS Mixins: Cycles:
- /css/css-mixins/mixins/mixin-declarations.html [wpt.fyi]
- CSS Mixins: Declarations directly in mixin:
FAIL
- CSS Mixins: Declarations directly in mixin:
- /css/css-mixins/mixins/mixin-from-import-with-media-queries.html [wpt.fyi]
- CSS Mixins: @import with media queries:
FAIL
- CSS Mixins: @import with media queries:
- /css/css-mixins/mixins/mixin-from-import.html [wpt.fyi]
- CSS Mixins: Mixin from an imported stylesheet:
FAIL
- CSS Mixins: Mixin from an imported stylesheet:
- /css/css-mixins/mixins/mixin-invalidation.tentative.html [wpt.fyi]
- invalidation of @mixin from same stylesheet:
FAIL - invalidation of @mixin from different stylesheet:
FAIL - invalidation on adding @apply rule:
FAIL
- invalidation of @mixin from same stylesheet:
- /css/css-mixins/mixins/mixin-layers.html [wpt.fyi]
- Mixins work inside layers:
FAIL - Mixins work inside layers (anonymous):
FAIL - Mixins in stronger layer wins:
FAIL - Mixins in stronger layer wins (source order matching layer order):
FAIL
- Mixins work inside layers:
- /css/css-mixins/mixins/mixin-locals.html [wpt.fyi]
- Basic local support:
FAIL(Chrome:PASS, Safari:FAIL) - Mixin is not cached if locals are different:
FAIL(Chrome:PASS, Safari:FAIL) - Locals resolve against each other:
FAIL(Chrome:PASS, Safari:FAIL) - Locals resolve against parameters:
FAIL(Chrome:PASS, Safari:FAIL) - Parameters do not resolve against locals:
FAIL(Chrome:PASS, Safari:FAIL) - Locals after @result are seen:
FAIL(Chrome:PASS, Safari:FAIL) - !important invalidates a mixin local declaration:
FAIL(Chrome:PASS, Safari:FAIL) - An invalid !important local does not define the variable:
FAIL(Chrome:PASS, Safari:FAIL)
- Basic local support:
- /css/css-mixins/mixins/mixin-media-query-invalidation-2.html [wpt.fyi]
- CSS Mixins: Invalidates on negative media query becoming positive:
FAIL
- CSS Mixins: Invalidates on negative media query becoming positive:
- /css/css-mixins/mixins/mixin-media-query-invalidation.html [wpt.fyi]
- CSS Mixins: Media Queries and invalidation:
FAIL
- CSS Mixins: Media Queries and invalidation:
- /css/css-mixins/mixins/mixin-parameters.html [wpt.fyi]
- Mixins with invalid parameter lists are ignored:
FAIL - Basic mixin parameter passing:
FAIL - Mixins can be called multiple times with different parameters:
FAIL - Too few parameters and no default ignores mixin:
FAIL - Mixin argument parsing with arguments wrapped in {}:
FAIL - Defaults in mixin parameters:
FAIL - Fallback is ignored if argument is given:
FAIL - Fallback is used with no parameter and no default:
FAIL - var() can be accessed from attributes:
FAIL - var() resolves typed parameters:
FAIL - var() refuses illegal syntax parameters, but does not fail entire mixin:
FAIL - var() can access parameters from outer mixins:
FAIL - var() works inside if, in condition and true branch:
FAIL - var() works inside if, in condition and false branch:
FAIL - Mixin arguments are resolved at call site, not at use:
FAIL - var() supports default parameters:
FAIL - var() typed default parameters are resolved against the element:
FAIL
- Mixins with invalid parameter lists are ignored:
- /css/css-mixins/mixins/mixin-parsing.html [wpt.fyi]
- @layer (statement) is invalid in @mixin:
FAIL - @layer (block) is invalid in @mixin:
FAIL - @layer (anonymous) is invalid in @mixin:
FAIL - @layer (statement) within @result is valid in @mixin:
FAIL - @layer (block) within @result is valid in @mixin:
FAIL - @layer (anonymous) within @result is valid in @mixin:
FAIL - style rule is valid in @mixin:
FAIL - style rule (relative) is valid in @mixin:
FAIL - @media is valid in @mixin:
FAIL - @supports is valid in @mixin:
FAIL - @container is valid in @mixin:
FAIL - @starting-style is valid in @mixin:
FAIL - @scope is valid in @mixin:
FAIL - @scope (implicit) is valid in @mixin:
FAIL - @layer is dropped within @result (statement):
FAIL - @layer is dropped within @result (block):
FAIL - @layer is dropped within a nested style rule:
FAIL - @layer is dropped within @media:
FAIL - @layer is dropped within @supports:
FAIL - @layer is dropped within @container:
FAIL - @layer is dropped within @scope:
FAIL - @layer is dropped within a body-level @media:
FAIL - @layer is dropped within a body-level @supports:
FAIL - @layer is dropped within a body-level @container:
FAIL
- @layer (statement) is invalid in @mixin:
- /css/css-mixins/mixins/mixin-shadow-dom.html [wpt.fyi]
- Style in shadow DOM should have access to outside non-adopted mixins:
FAIL - Style in shadow DOM should have access to inside mixins:
FAIL - Style in shadow DOM should have access to mixins from adopted stylesheets:
FAIL
- Style in shadow DOM should have access to outside non-adopted mixins:
Comment 4•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/89ba0d5e41af
https://hg.mozilla.org/mozilla-central/rev/be1ae36435f8
Description
•