Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1762088] Implement parsing / serialization for container{,-type,-name} CSS properties. #33463

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

moz-wptsync-bot
Copy link
Collaborator

Two noteworthy details that may seem random otherwise:

Other notes when looking at the spec and seeing how it matches the
implementation:

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1762088
gecko-commit: bdaf003569a7cd516ada250c6d73e5288a69b1ae
gecko-reviewers: firefox-style-system-reviewers, layout-reviewers, boris

…perties.

Two noteworthy details that may seem random otherwise:

 * Moving values around in nsStyleDisplay is needed so that the struct
   remains under the size limit that we have to avoid jumping allocator
   buckets.

 * All the test expectation churn is because tests depend on
   `container-type: size` parsing to run, and now they run. Tests for
   the relevant bits I implemented are passing, with the only exception
   of some `container-name-computed.html` failures which are
   w3c/csswg-drafts#7181. Safari agrees with
   us there.

Other notes when looking at the spec and seeing how it matches the
implementation:

 * `container` syntax doesn't match spec, but matches tests and sanity:
   w3c/csswg-drafts#7180

 * `container-type` syntax doesn't _quite_ match spec, but matches tests
   and I think it's a spec bug since the definition for the missing
   keyword is gone:
   w3c/csswg-drafts#7179

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1762088
gecko-commit: bdaf003569a7cd516ada250c6d73e5288a69b1ae
gecko-reviewers: firefox-style-system-reviewers, layout-reviewers, boris
Copy link
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.

@moz-wptsync-bot moz-wptsync-bot merged commit f6a696e into master Apr 1, 2022
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1762088 branch April 1, 2022 09:37
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.

3 participants