Skip to content

Review css/css-sizing/aspect-ratio/flex-aspect-ratio-004.html #139

Closed

Description

@nt1m

Test List

Rationale

Not suggesting anything specific here, but mostly a review of that test, given it fails in the same identical way across the 3 engines.

cc @davidsgrogan @aethanyc who are the authors of this test.

Activity

  1. added
    test-change-proposal
    on Sep 21, 2022
  2. foolip commented on Sep 21, 2022

    @foolip
    Member

    This is the actual screen in all browsers:

    image

  3. davidsgrogan commented on Sep 21, 2022

    @davidsgrogan
    Member

    This is subject to the ongoing discussion in w3c/csswg-drafts#6794

  4. nt1m commented on Sep 21, 2022

    @nt1m
    MemberAuthor

    The CSSWG issue seems to have a resolution and is closed, do the tests need to be updated?

  5. davidsgrogan commented on Sep 21, 2022

    @davidsgrogan
    Member

    It has a resolution for an ancillary point. The underlying issue is not resolved. See the very bottom of the IRC log:

    <heycam> Rossen: still not hearing a concrete path forward here
    <heycam> ... I think this would benefit from some whiteboarding
    
  6. foolip commented on Sep 22, 2022

    @foolip
    Member

    We talked about this briefly in #140. @davidsgrogan, to ensure the CSSWG are aware of this specific issue, can you describe it in w3c/csswg-drafts#6794, or file a new one if it's not quite the right issue?

    We'll probably keep this issue open until the spec discussion has happened, but if it takes a very long time we'll probably drop the test from Interop 2021.

  7. davidsgrogan commented on Sep 27, 2022

    @davidsgrogan
    Member

    I looked at this test some more. Both of the competing spec proposals in w3c/csswg-drafts#6794 dictate this test's rendering to match all the current implementations. So I will just change the test to match all current implementations. (Yay!)

    But both proposals also make flex-aspect-ratio-002.html's rendering match Firefox's rendering, not Blink and WebKit's. Currently Blink and WebKit pass flex-aspect-ratio-002.html and Firefox fails it.

    So when I change -004 to match the behavior dictated by both proposals, then following the exact same principle, I'll change -002 to match the behavior dictated by both proposals.

    This will result in no net score difference for Blink and WebKit and a minor score increase for Firefox.

    -002 and -004 test the same idea, just that -002 is for row flexboxes and -004 is for column flexboxes.

    Firefox's behavior in -002 is what the spec authors originally intended. There are no champions for the Blink/WebKit behavior among the commenters in w3c/csswg-drafts#6794.

    As for mentioning this case in the WG issue, the CSSWG is already well aware of it. There are just competing proposals how to best fix it, with debate around the effects each proposal would have on cases other than -002 and -004.

  8. foolip commented on Oct 12, 2022

    @foolip
    Member

    Since the test now passes in all browsers I'll go ahead and close this. @nt1m please reopen if you think there's more we need to do here.

  9. foolip commented on Oct 12, 2022

    @foolip
    Member

    And of course, big thanks @davidsgrogan for sorting out the tests!

  10. added a commit that references this issue on Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    test-change-proposal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions