Bug 2009001 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

A number of type(...) tests in [attr-all-types.html](https://searchfox.org/firefox-main/source/testing/web-platform/tests/css/css-values/attr-all-types.html#191-197) fail like:

* `test_valid_attr('--y', 'attr(data-foo type(*))', 'var(--x, 3)', '3');`
* `test_valid_attr('--y', 'attr(data-foo type(*))', 'attr(data-bar, 11)', '"3"');`

These tests expect recursive resolution. I.e. `data-foo=attr(data-bar, 3)` to be resolved as 3. Right now we resolve it as `type(<string>)` so `data-foo` substitutes as "attr(data-bar, 11)" but we expect 3.
A number of type(...) tests in [attr-all-types.html](https://searchfox.org/firefox-main/source/testing/web-platform/tests/css/css-values/attr-all-types.html#191-197) fail like:

* `test_valid_attr('--y', 'attr(data-foo type(*))', 'var(--x, 3)', '3');`
* `test_valid_attr('--y', 'attr(data-foo type(*))', 'attr(data-bar, 11)', '"3"');`

These tests expect recursive resolution. I.e. `data-foo=attr(data-bar, 3)` to be resolved as 3. Right now we resolve it as `type(<string>)` so `data-foo` substitutes as "attr(data-bar, 11)" but the test would expect 3.

Back to Bug 2009001 Comment 0