Skip to content

[Gecko Bug 1997338] Clean up attr() cycle leftover from Bug 2009001.#60205

Open
moz-wptsync-bot wants to merge 1 commit into
masterfrom
gecko/1997338
Open

[Gecko Bug 1997338] Clean up attr() cycle leftover from Bug 2009001.#60205
moz-wptsync-bot wants to merge 1 commit into
masterfrom
gecko/1997338

Conversation

@moz-wptsync-bot
Copy link
Copy Markdown
Collaborator

Specifically:

  1. Fix a failing test in attr-cycle.html. Attr-values should only
    resolve references when prefaced by type() syntax. Else the
    attr-value is taken as is.

  2. Cycle detection currently can't distinguish --data-foo (custom
    property) from data-foo (attribute), which can flag a false cycle
    in rare cases. Added a test to attr-cycle.html.

  3. CSS-wide keywords aren't meaningful to attr() itself but can pass
    through directly or via the fallback. Added a test covering this.

Differential Revision: https://phabricator.services.mozilla.com/D302511

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1997338
gecko-commit: 93f005409f29cc3f347a99ce9fa0bd53c7ffe5de
gecko-commit-git: d3f83bb38dc446c38a9ad37af0bb6c9f511bdfd3
gecko-reviewers: emilio, firefox-style-system-reviewers

Specifically:
1. Fix a failing test in attr-cycle.html. Attr-values should only
   resolve references when prefaced by type() syntax. Else the
   attr-value is taken as is.

2. Cycle detection currently can't distinguish --data-foo (custom
   property) from data-foo (attribute), which can flag a false cycle
   in rare cases. Added a test to attr-cycle.html.

3. CSS-wide keywords aren't meaningful to attr() itself but can pass
   through directly or via the fallback. Added a test covering this.

Differential Revision: https://phabricator.services.mozilla.com/D302511

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1997338
gecko-commit: 93f005409f29cc3f347a99ce9fa0bd53c7ffe5de
gecko-commit-git: d3f83bb38dc446c38a9ad37af0bb6c9f511bdfd3
gecko-reviewers: emilio, firefox-style-system-reviewers
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants