[wpt-sync] Sync PR 63360 - [css-mixins] Add WPT for function property context
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63360 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63360
Details from upstream follow.
Kevin Babbitt <kbabbitt@microsoft.com> wrote:
[css-mixins] Add WPT for function property context
Blink behavior already matches the CSSWG resolution.
function-relative-units.html tests the "element" portion of the calling
context, but there was no WPT coverage for the "property" portion.This CL adds the missing coverage, using font-size and border-left-width
to distinguish the applicable property context.Fixed: 552969806
Change-Id: I2b5acc9a2508ca7d8ac3d7d383ad407147a2569c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8519531
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Kevin Babbitt \<kbabbitt@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1713445}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=101906
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 56 tests and 16 subtests
Status Summary
Firefox
OK : 1[GitHub] 56[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: 111
FAIL: 4[GitHub] 496[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 : 1
PASS: 4
Safari
OK : 1
PASS: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-mixins/function-property-context.html [wpt.fyi]
- em in argument uses the property calling context:
FAIL - em in default uses the property calling context:
FAIL - em in local uses the property calling context:
FAIL - em in result uses the property calling context:
FAIL
- em in argument uses the property calling context:
New Tests That Don't Pass
- /css/css-mixins/function-definition-scope.html [wpt.fyi]
- Parameter default resolves a dashed-function in the definition scope:
FAIL - result resolves a dashed-function in the definition scope:
FAIL - A local resolves a dashed-function in the definition scope:
FAIL
- Parameter default resolves a dashed-function in the definition scope:
- /css/css-mixins/function-parameter-scoping.html [wpt.fyi]
- Default referencing an earlier parameter:
FAIL
- Default referencing an earlier parameter:
- /css/css-mixins/function-property-context.html [wpt.fyi]
- em in argument uses the property calling context:
FAIL(Chrome:PASS, Safari:PASS) - em in default uses the property calling context:
FAIL(Chrome:PASS, Safari:PASS) - em in local uses the property calling context:
FAIL(Chrome:PASS, Safari:PASS) - em in result uses the property calling context:
FAIL(Chrome:PASS, Safari:PASS)
- em in argument uses the property calling context:
- /css/css-mixins/function-relative-units.html [wpt.fyi]
- em in a typed parameter:
FAIL - rem in a typed parameter:
FAIL - em within calc() in a typed parameter:
FAIL - em in a typed parameter, untyped return:
FAIL - em in a typed parameter default:
FAIL - em in a typed parameter of a nested function:
FAIL - em in a typed result:
FAIL - em within calc() in a typed result:
FAIL - em in an untyped local substituted into a typed result:
FAIL - em in an untyped parameter:
FAIL - em in an untyped result:
FAIL
- em in a typed parameter:
- /css/css-mixins/functions/at-function-cssom.html [wpt.fyi]
- Empty CSSFunctionRule:
FAIL - Single CSSFunctionDeclarations:
FAIL - CSSFunctionDescriptors (result):
FAIL - CSSFunctionDescriptors (result, repeated):
FAIL - CSSFunctionDescriptors (local variables):
FAIL - CSSFunctionDescriptors (local variables, repeated):
FAIL - CSSFunctionDescriptors (local variables and result):
FAIL - CSSFunctionDescriptors serialization:
FAIL - Unknown descriptors:
FAIL - !important invalidates declarations in function bodies:
FAIL - !important invalidates declarations in conditional function bodies:
FAIL - Unknown descriptors (mutation):
FAIL - item():
FAIL - Indexed property getter:
FAIL - @supports in body:
FAIL - CSSFunctionRule.name:
FAIL - CSSFunctionRule.getParameters():
FAIL - CSSFunctionRule.returnType:
FAIL - CSSFunctionRule escapes:
FAIL - CSSFunctionRule.cssText (--empty):
FAIL - CSSFunctionRule.cssText (--ret-length):
FAIL - CSSFunctionRule.cssText (--ret-length-auto):
FAIL - CSSFunctionRule.cssText (--param-single):
FAIL - CSSFunctionRule.cssText (--param-typed):
FAIL - CSSFunctionRule.cssText (--param-typed-default):
FAIL - CSSFunctionRule.cssText (--param-default):
FAIL - CSSFunctionRule.cssText (--param-multi):
FAIL - CSSFunctionRule.cssText (--param-multi-mixed):
FAIL - CSSFunctionRule.cssText (--body-result):
FAIL - CSSFunctionRule.cssText (--body-locals):
FAIL - CSSFunctionRule.cssText (--param-type-fn):
FAIL - CSSFunctionRule.cssText (--param-type-fn-uni):
FAIL - CSSFunctionRule.cssText (--ret-type-fn):
FAIL - CSSFunctionRule.cssText (--ret-type-fn-uni):
FAIL - CSSFunctionRule.cssText (--body-result-multi):
FAIL - CSSFunctionRule.cssText (--escaped-):
FAIL - CSSFunctionRule.cssText (--identy):
FAIL
- 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: var(--y, 10px)) is valid:
FAIL - @function --foo(--x <color>: rgb(1, 2, 3)) is valid:
FAIL - @function --foo(--x: var(--y, 10px), --z: 2px) is valid:
FAIL - @function --foo(--x <length>: clamp(1px, 2px, 3px)) is valid:
FAIL - @function --foo(--x: {1px, 2px}) is valid:
FAIL - @function --foo(--x: --bar(1px, 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 - Argument calling the same function is not a cycle:
FAIL - Argument calling the same function does not invalidate the inner call:
FAIL - Argument calling the same function is not a cycle, dependency declared last:
FAIL - Argument calling the same function is not a cycle, chained three deep:
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 - e.style['top'] = "--func(auto)" should set the property value:
FAIL - e.style['top'] = "--func(100px)" should set the property value:
FAIL - e.style['top'] = "--func(#fff)" should set the property value:
FAIL - e.style['top'] = "--func(auto, 100px, #fff)" should set the property value:
FAIL - e.style['top'] = "--func(auto ,100px ,#fff)" should set the property value:
FAIL - e.style['top'] = "--func(auto , 100px , #fff)" should set the property value:
FAIL - e.style['top'] = "--func(auto,100px,#fff)" should set the property value:
FAIL - e.style['top'] = "--func("thing")" should set the property value:
FAIL - e.style['top'] = "--func(--bar(), --baz(--fez()))" should set the property value:
FAIL - e.style['top'] = "--func({1}, 2)" should set the property value:
FAIL - e.style['top'] = "--func({ 1}, 2)" should set the property value:
FAIL - e.style['top'] = "--func({1 }, 2)" should set the property value:
FAIL - e.style['top'] = "--func({ 1 }, 2)" should set the property value:
FAIL - e.style['top'] = "--func({1},{2})" should set the property value:
FAIL - e.style['top'] = "--func({1, 2, 3},{4})" should set the property value:
FAIL - e.style['top'] = "--func({,},{4})" should set the property value:
FAIL - e.style['top'] = "--func({{}},{4})" should set the property value:
FAIL - e.style['top'] = "--func({[]},{4})" should set the property value:
FAIL
- 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 local is untyped even where a registration of the same name exists:
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 - Local shadows a registered custom property in if() condition:
FAIL - Parameter shadows a registered custom property in if() condition:
FAIL - Local shadows a registered custom property left at its initial value:
FAIL - A name the function does not declare keeps the registration:
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
- !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 - Mixin is not cached if locals are different:
FAIL - Locals resolve against each other:
FAIL - Locals resolve against parameters:
FAIL - Parameters do not resolve against locals:
FAIL - Locals after @result are seen:
FAIL - !important invalidates a mixin local declaration:
FAIL - An invalid !important local does not define the variable:
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 - Shared inline @apply contents use the correct mixin in each scope:
FAIL - Shared inline @apply contents do not depend on scope creation order:
FAIL - Shared constructed @apply sheet uses the correct mixin in each scope:
FAIL - Shared constructed @apply sheet does not depend on scope creation order:
FAIL - An @apply of an undefined mixin does not affect a scope that defines it:
FAIL - An @apply of a defined mixin does not leak into a scope without it:
FAIL - A local mixin overrides a document mixin with the same name:
FAIL - Nested shadows use the nearest mixin along each tree branch:
FAIL
- Style in shadow DOM should have access to outside non-adopted mixins:
- /css/css-mixins/mixins/mixin-shared-across-documents.html [wpt.fyi]
- A shared stylesheet's @apply resolves to each document's own mixin:
FAIL
- A shared stylesheet's @apply resolves to each document's own mixin:
- /css/css-mixins/mixins/mixin-shared-sheet-no-mixins-in-scope.html [wpt.fyi]
- A scope with no mixins does not affect @apply in a scope that declares the mixin:
FAIL - An applied mixin does not affect @apply in a scope that has no mixins:
FAIL
- A scope with no mixins does not affect @apply in a scope that declares the mixin:
- /css/css-mixins/private/private-cssom-insert-rule.tentative.html [wpt.fyi]
- @private can be inserted into a style rule:
FAIL
- @private can be inserted into a style rule:
- /css/css-mixins/private/private-cssom-serialization.tentative.html [wpt.fyi]
- Empty @private rule:
FAIL - Untyped variable with a default:
FAIL - Multiple variables:
FAIL - Repeated variable name:
FAIL - Trailing whitespace is omitted:
FAIL - Typed variable with a default:
FAIL - Multi-component type:
FAIL - Single-component type() is unwrapped:
FAIL - Structured default value:
FAIL - Escaped variable name:
FAIL - Escaped custom-ident type:
FAIL - An all-invalid block serializes as an empty rule:
FAIL - Invalid declarations are omitted:
FAIL - A variable without a value is omitted:
FAIL - A typed variable without a value is omitted:
FAIL - !important declaration is omitted:
FAIL
- Empty @private rule:
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9bf9d99489be
https://hg.mozilla.org/mozilla-central/rev/35a1799b4f56
Description
•