Skip to content

flex: handle ‘align-self: [ first | last ]? && baseline’ - #32787

Merged
mukilan merged 9 commits into
servo:mainfrom
delan:flexbox-item-baseline
Jul 18, 2024
Merged

mukilan merged 9 commits into
servo:mainfrom
delan:flexbox-item-baseline

Conversation

@delan

@delan delan commented Jul 16, 2024 •

Copy link
Copy Markdown
Member

This patch implements layout for flex items with ‘baseline’ (‘first baseline’) or ‘last baseline’ alignment, except for the inline axis and auto cross margins checks when calculating the cross size of each flex line.

We calculate and store the baseline relative to the margin cross start edge for each item, then use that when calculating the cross size of each flex line and aligning all flex items along the cross-axis. When we need to synthesize baselines for an item, we take the hypothetical cross size or the used cross size respectively, adding cross-axis pbm sizes such that the baseline is the border cross end edge.

Co-authored-by: Martin Robinson [email protected]
Co-authored-by: Mukilan Thiyagarajan [email protected]
Signed-off-by: Delan Azabani [email protected]


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #___ (GitHub issue number if applicable)
  • There are tests for these changes OR
  • These changes do not require tests because ___

Diff against #32790: https://github.com/servo/servo/pull/32787/files/ab08695506911c4ac6d6b9a5834e8a89fc63a9c9..d583ed0669c356bd944bc520b438dc60b844a73a

@delan
delan force-pushed the flexbox-item-baseline branch 2 times, most recently from 7c876cd to 2a63ab4 Compare July 17, 2024 10:29
@delan delan added the T-linux-wpt Do a try run of the WPT label Jul 17, 2024
@github-actions github-actions Bot removed the T-linux-wpt Do a try run of the WPT label Jul 17, 2024
@github-actions

Copy link
Copy Markdown

🔨 Triggering try run (#9973502453) for Linux WPT

@delan

delan commented Jul 17, 2024 •

Copy link
Copy Markdown
Member Author

TODO in a subsequent patch

  • fix zips
  • accumulate a baseline for each flex line into FlexLineLayoutResult
  • compute container baseline at end of FlexContainer::layout

@github-actions

Copy link
Copy Markdown

Test results for linux-wpt-layout-2020 from try job (#9973502453):

Flaky unexpected result (23)
  • FAIL [expected PASS] /_mozilla/css/iframe/hide_and_show.html (#15265)
  • CRASH [expected PASS] /_webgl/conformance/glsl/bugs/long-expressions-should-not-crash.html (#19221)
  • TIMEOUT [expected OK] /_webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html (#28103)
  • TIMEOUT [expected PASS] /css/compositing/mix-blend-mode/mix-blend-mode-video-sibling.html
  • TIMEOUT [expected PASS] /css/css-color/animation/opacity-animation-ending-correctly-001.html (#29215)
  • OK /css/css-fonts/variations/at-font-face-font-matching.html (#20684)
    • FAIL [expected PASS] subtest: Matching font-style: 'oblique 20deg' should prefer 'oblique 10deg' over 'italic'

      assert_equals: Unexpected font on test element expected 487 but got 532
      

  • FAIL [expected PASS] /css/css-sizing/dynamic-available-size-iframe.html (#31559)
  • TIMEOUT /css/cssom-view/MediaQueryList-addListener-handleEvent.html (#24571)
    • PASS [expected TIMEOUT] subtest: looks up handleEvent method on every event dispatch
    • TIMEOUT [expected NOTRUN] subtest: doesn't look up handleEvent method on callable event listeners

      Test timed out
      

  • OK /custom-elements/form-associated/ElementInternals-setFormValue.html (#29174)
    • PASS [expected FAIL] subtest: Single value - name is missing
    • PASS [expected FAIL] subtest: Newline normalization - \r\n in name (urlencoded)
  • OK /html/browsers/browsing-the-web/navigating-across-documents/empty-iframe-load-event.html (#29066)
    • FAIL [expected PASS] subtest: Check execution order from nested timeout

      assert_equals: Expected nested setTimeout to run second expected true but got false
      

    • FAIL [expected PASS] subtest: Check execution order on load handler

      assert_equals: Expected onload to run first expected false but got true
      

  • OK /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html (#29048)
    • PASS [expected FAIL] subtest: Navigating to a different document with link click
    • PASS [expected FAIL] subtest: Navigating to a different document with form submission
  • OK /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/load-pageshow-events-window-open.html (#28691)
    • PASS [expected FAIL] subtest: load event does not fire on window.open('about:blank')
  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.html (#29049)
    • PASS [expected FAIL] subtest: Same-origin navigation started from unload handler must be ignored
  • OK /html/browsers/history/the-history-interface/traverse_the_history_2.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • ERROR [expected TIMEOUT] /html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html (#32745)
  • TIMEOUT [expected OK] /html/interaction/focus/the-autofocus-attribute/autofocus-dialog.html (#29087)
    • TIMEOUT [expected FAIL] subtest: <dialog>-contained autofocus element gets focused when the dialog is shown

      Test timed out
      

  • CRASH [expected OK] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html (#24066)
  • OK /html/semantics/forms/form-submission-0/text-plain.window.html (#28687)
    • PASS [expected FAIL] subtest: text/plain: \n in value (normal form)
  • CRASH [expected OK] /html/semantics/forms/the-fieldset-element/disabled-003.html (#31730)
  • OK /html/semantics/links/links-created-by-a-and-area-elements/htmlanchorelement_noopener.html (#23205)
    • PASS [expected FAIL] subtest: Check that rel=noopener with target=_self does a normal load
  • OK /html/syntax/parsing/DOMContentLoaded-defer.html (#21550)
    • PASS [expected FAIL] subtest: The end: DOMContentLoaded and defer scripts
  • OK /resize-observer/change-layout-in-error.html (#32629)
    • PASS [expected FAIL] subtest: Changing layout in window error handler should not result in lifecyle loop when resize observer loop limit is reached.
  • TIMEOUT /resource-timing/test_resource_timing.html (#25720)
    • FAIL [expected PASS] subtest: PerformanceEntry has correct name, initiatorType, startTime, and duration (img)

      assert_equals: expected 5600512 but got 5600768
      

Stable unexpected results that are known to be intermittent (15)
  • OK /css/css-values/calc-in-media-queries-with-mixed-units.html (#31731)
    • FAIL [expected PASS] subtest: box should be orange if the calc between vh+px in @media was correct

      assert_equals: expected "rgb(255, 165, 0)" but got "rgb(0, 0, 255)"
      

    • FAIL [expected PASS] subtest: box should be orange if the calc between vw+px in @media was correct

      assert_equals: expected "rgb(255, 165, 0)" but got "rgb(0, 0, 255)"
      

  • OK /css/css-values/cap-invalidation.html (#32757)
    • FAIL [expected PASS] subtest: CSS Values and Units Test: cap invalidation

      uncaught exception: Error: assert_not_equals: expect the capital height of Ahem and sans-serif to be different got disallowed value 371.3333333333333
      

  • FAIL [expected PASS] /css/css-values/vh_not_refreshing_on_chrome.html (#23385, #15570)
  • TIMEOUT /css/cssom-view/MediaQueryList-addListener-removeListener.html (#24569)
    • TIMEOUT [expected PASS] subtest: listeners are called correct number of times

      Test timed out
      

    • NOTRUN [expected PASS] subtest: listeners are called in order they were added
  • TIMEOUT /css/cssom-view/MediaQueryList-extends-EventTarget-interop.html (#25285)
    • TIMEOUT [expected PASS] subtest: listener added with addListener and addEventListener is called once

      Test timed out
      

    • NOTRUN [expected TIMEOUT] subtest: listener added with addListener and addEventListener (capture) is called twice
  • TIMEOUT /css/cssom-view/MediaQueryList-extends-EventTarget.html (#25269)
    • TIMEOUT [expected PASS] subtest: onchange removes listener

      Test timed out
      

    • NOTRUN [expected TIMEOUT] subtest: listeners for "change" type are called
  • OK [expected TIMEOUT] /css/cssom-view/MediaQueryListEvent.html (#25275)
    • PASS [expected TIMEOUT] subtest: argument of onchange
    • PASS [expected NOTRUN] subtest: constructor of "change" event
  • OK /html/browsers/history/the-history-interface/traverse_the_history_3.html (#21383)
    • FAIL [expected PASS] subtest: Multiple history traversals, last would be aborted

      assert_array_equals: Pages opened during history navigation expected property 1 to be 3 but got 2 (expected array [6, 3] got [6, 2])
      

  • OK /html/browsers/history/the-history-interface/traverse_the_history_4.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • CRASH [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html (#22667)
  • TIMEOUT /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html (#22154)
    • NOTRUN [expected FAIL] subtest: Check that popups from a sandboxed iframe do not escape the sandbox
  • TIMEOUT [expected OK] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html (#24066)
    • NOTRUN [expected FAIL] subtest: Check that popups from a sandboxed iframe do not escape the sandbox
  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-0/reparent-form-during-planned-navigation-task.html (#29724)
    • TIMEOUT [expected PASS] subtest: reparent-form-during-planned-navigation-task

      Test timed out
      

  • OK /html/semantics/forms/form-submission-0/urlencoded2.window.html (#28687)
    • PASS [expected FAIL] subtest: application/x-www-form-urlencoded: Basic File test (formdata event)
    • PASS [expected FAIL] subtest: application/x-www-form-urlencoded: double quote in value (normal form)
    • PASS [expected FAIL] subtest: application/x-www-form-urlencoded: double quote in value (formdata event)
  • OK [expected ERROR] /workers/constructors/Worker/Worker-constructor.html (#22991)
Stable unexpected results (57)
  • OK /css/css-align/animation/align-no-interpolation.html
    • PASS [expected FAIL] subtest: CSS Transitions with transition-behavior:allow-discrete: property <align-content> from [initial] to [baseline] at (0.5) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-behavior:allow-discrete: property <align-content> from [initial] to [baseline] at (0.6) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-behavior:allow-discrete: property <align-content> from [initial] to [baseline] at (1) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-behavior:allow-discrete: property <align-content> from [initial] to [baseline] at (1.5) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <align-content> from [initial] to [baseline] at (0.5) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <align-content> from [initial] to [baseline] at (0.6) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <align-content> from [initial] to [baseline] at (1) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <align-content> from [initial] to [baseline] at (1.5) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions: property <align-content> from [initial] to [baseline] at (-0.3) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions: property <align-content> from [initial] to [baseline] at (0) should be [baseline]
    • And 77 more unexpected results...
  • OK /css/css-align/animation/justify-no-interpolation.html
    • PASS [expected FAIL] subtest: CSS Transitions with transition-behavior:allow-discrete: property <justify-items> from [initial] to [baseline] at (0.5) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-behavior:allow-discrete: property <justify-items> from [initial] to [baseline] at (0.6) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-behavior:allow-discrete: property <justify-items> from [initial] to [baseline] at (1) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-behavior:allow-discrete: property <justify-items> from [initial] to [baseline] at (1.5) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <justify-items> from [initial] to [baseline] at (0.5) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <justify-items> from [initial] to [baseline] at (0.6) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <justify-items> from [initial] to [baseline] at (1) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <justify-items> from [initial] to [baseline] at (1.5) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions: property <justify-items> from [initial] to [baseline] at (-0.3) should be [baseline]
    • PASS [expected FAIL] subtest: CSS Transitions: property <justify-items> from [initial] to [baseline] at (0) should be [baseline]
    • And 48 more unexpected results...
  • OK /css/css-align/content-distribution/parse-align-content-001.html
    • PASS [expected FAIL] subtest: Checking align-content: normal
    • PASS [expected FAIL] subtest: Checking align-content: start
    • PASS [expected FAIL] subtest: Checking align-content: end
    • PASS [expected FAIL] subtest: Checking align-content: center
    • PASS [expected FAIL] subtest: Checking align-content: flex-start
    • PASS [expected FAIL] subtest: Checking align-content: flex-end
    • PASS [expected FAIL] subtest: Checking align-content: stretch
    • PASS [expected FAIL] subtest: Checking align-content: space-around
    • PASS [expected FAIL] subtest: Checking align-content: space-between
    • PASS [expected FAIL] subtest: Checking align-content: space-evenly
    • And 8 more unexpected results...
  • OK /css/css-align/content-distribution/parse-align-content-002.html
    • PASS [expected FAIL] subtest: Test 'initial' value when nothing is specified
    • PASS [expected FAIL] subtest: Test align-content: 'initial'
    • PASS [expected FAIL] subtest: Test grid items align-content: 'initial'
    • PASS [expected FAIL] subtest: Test flex items align-content: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned elements align-content: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned grid items align-content: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned flex items align-content: 'initial'
  • OK /css/css-align/content-distribution/parse-align-content-003.html
    • PASS [expected FAIL] subtest: Checking align-content: normal
    • PASS [expected FAIL] subtest: Checking align-content: start
    • PASS [expected FAIL] subtest: Checking align-content: end
    • PASS [expected FAIL] subtest: Checking align-content: center
    • PASS [expected FAIL] subtest: Checking align-content: flex-start
    • PASS [expected FAIL] subtest: Checking align-content: flex-end
    • PASS [expected FAIL] subtest: Checking align-content: stretch
    • PASS [expected FAIL] subtest: Checking align-content: space-around
    • PASS [expected FAIL] subtest: Checking align-content: space-between
    • PASS [expected FAIL] subtest: Checking align-content: space-evenly
    • And 8 more unexpected results...
  • OK /css/css-align/content-distribution/parse-align-content-004.html
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: auto
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: legacy
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: self-start
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: left
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: safe right
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: auto safe
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: auto left
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: normal unsafe
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: normal stretch
    • PASS [expected FAIL] subtest: Checking invalid combination - align-content: baseline normal
    • And 30 more unexpected results...
  • OK /css/css-align/content-distribution/parse-align-content-005.html
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('end')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('safe start')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('unsafe center')
  • OK /css/css-align/content-distribution/parse-justify-content-001.html
    • PASS [expected FAIL] subtest: Checking justify-content: normal
    • PASS [expected FAIL] subtest: Checking justify-content: left
    • PASS [expected FAIL] subtest: Checking justify-content: right
    • PASS [expected FAIL] subtest: Checking justify-content: start
    • PASS [expected FAIL] subtest: Checking justify-content: end
    • PASS [expected FAIL] subtest: Checking justify-content: center
    • PASS [expected FAIL] subtest: Checking justify-content: flex-start
    • PASS [expected FAIL] subtest: Checking justify-content: flex-end
    • PASS [expected FAIL] subtest: Checking justify-content: stretch
    • PASS [expected FAIL] subtest: Checking justify-content: space-around
    • And 7 more unexpected results...
  • OK /css/css-align/content-distribution/parse-justify-content-002.html
    • PASS [expected FAIL] subtest: Test 'initial' value when nothing is specified
    • PASS [expected FAIL] subtest: Test justify-content: 'initial'
    • PASS [expected FAIL] subtest: Test grid items justify-content: 'initial'
    • PASS [expected FAIL] subtest: Test flex items justify-content: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned elements justify-content: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned grid items justify-content: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned flex items justify-content: 'initial'
  • OK /css/css-align/content-distribution/parse-justify-content-003.html
    • PASS [expected FAIL] subtest: Checking justify-content: normal
    • PASS [expected FAIL] subtest: Checking justify-content: left
    • PASS [expected FAIL] subtest: Checking justify-content: right
    • PASS [expected FAIL] subtest: Checking justify-content: start
    • PASS [expected FAIL] subtest: Checking justify-content: end
    • PASS [expected FAIL] subtest: Checking justify-content: center
    • PASS [expected FAIL] subtest: Checking justify-content: flex-start
    • PASS [expected FAIL] subtest: Checking justify-content: flex-end
    • PASS [expected FAIL] subtest: Checking justify-content: stretch
    • PASS [expected FAIL] subtest: Checking justify-content: space-around
    • And 7 more unexpected results...
  • OK /css/css-align/content-distribution/parse-justify-content-004.html
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: auto
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: legacy
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: self-start
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: baseline
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: first baseline
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: last baseline
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: auto safe
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: auto left
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: normal unsafe
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-content: normal stretch
    • And 31 more unexpected results...
  • OK /css/css-align/content-distribution/parse-justify-content-005.html
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('end')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('safe left')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('unsafe center')
  • OK /css/css-align/content-distribution/place-content-shorthand-004.html
    • PASS [expected FAIL] subtest: Verify fallback values are invalid
    • PASS [expected FAIL] subtest: Verify 'left' and 'right' values are invalid for block/cross axis alignment
    • PASS [expected FAIL] subtest: Verify <baseline-position> values are invalid for the justify-content property
    • PASS [expected FAIL] subtest: Verify numeric values are invalid
    • PASS [expected FAIL] subtest: Verify 'auto' values are invalid
    • PASS [expected FAIL] subtest: Verify self-position values are invalid
    • PASS [expected FAIL] subtest: Verify empty declaration is invalid
  • OK /css/css-align/default-alignment/parse-align-items-001.html
    • PASS [expected FAIL] subtest: Checking align-items: normal
    • PASS [expected FAIL] subtest: Checking align-items: stretch
    • PASS [expected FAIL] subtest: Checking align-items: start
    • PASS [expected FAIL] subtest: Checking align-items: end
    • PASS [expected FAIL] subtest: Checking align-items: self-start
    • PASS [expected FAIL] subtest: Checking align-items: self-end
    • PASS [expected FAIL] subtest: Checking align-items: center
    • PASS [expected FAIL] subtest: Checking align-items: flex-start
    • PASS [expected FAIL] subtest: Checking align-items: flex-end
    • PASS [expected FAIL] subtest: Checking align-items: baseline
    • And 7 more unexpected results...
  • OK /css/css-align/default-alignment/parse-align-items-002.html
    • PASS [expected FAIL] subtest: Test 'initial' value when nothing is specified
    • PASS [expected FAIL] subtest: Test align-items: 'initial'
    • PASS [expected FAIL] subtest: Test grid items align-items: 'initial'
    • PASS [expected FAIL] subtest: Test flex items align-items: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned elements align-items: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned grid items align-items: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned flex items align-items: 'initial'
  • OK /css/css-align/default-alignment/parse-align-items-003.html
    • PASS [expected FAIL] subtest: Checking align-items: normal
    • PASS [expected FAIL] subtest: Checking align-items: stretch
    • PASS [expected FAIL] subtest: Checking align-items: start
    • PASS [expected FAIL] subtest: Checking align-items: end
    • PASS [expected FAIL] subtest: Checking align-items: self-start
    • PASS [expected FAIL] subtest: Checking align-items: self-end
    • PASS [expected FAIL] subtest: Checking align-items: center
    • PASS [expected FAIL] subtest: Checking align-items: flex-start
    • PASS [expected FAIL] subtest: Checking align-items: flex-end
    • PASS [expected FAIL] subtest: Checking align-items: baseline
    • And 7 more unexpected results...
  • OK /css/css-align/default-alignment/parse-align-items-004.html
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: auto
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: legacy
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: space-around
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: left
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: safe right
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: auto safe
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: auto left
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: normal unsafe
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: normal stretch
    • PASS [expected FAIL] subtest: Checking invalid combination - align-items: baseline normal
    • And 19 more unexpected results...
  • OK /css/css-align/default-alignment/parse-align-items-005.html
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('end')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('safe start')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('unsafe center')
  • OK /css/css-align/default-alignment/parse-justify-items-001.html
    • PASS [expected FAIL] subtest: Checking justify-items: normal
    • PASS [expected FAIL] subtest: Checking justify-items: stretch
    • PASS [expected FAIL] subtest: Checking justify-items: left
    • PASS [expected FAIL] subtest: Checking justify-items: right
    • PASS [expected FAIL] subtest: Checking justify-items: start
    • PASS [expected FAIL] subtest: Checking justify-items: end
    • PASS [expected FAIL] subtest: Checking justify-items: self-start
    • PASS [expected FAIL] subtest: Checking justify-items: self-end
    • PASS [expected FAIL] subtest: Checking justify-items: center
    • PASS [expected FAIL] subtest: Checking justify-items: flex-start
    • And 12 more unexpected results...
  • OK /css/css-align/default-alignment/parse-justify-items-002.html
    • PASS [expected FAIL] subtest: Test 'initial' value when nothing is specified
    • PASS [expected FAIL] subtest: Test justify-items: 'initial'
    • PASS [expected FAIL] subtest: Test grid items justify-items: 'initial'
    • PASS [expected FAIL] subtest: Test flex items justify-items: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned elements justify-items: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned grid items justify-items: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned flex items justify-items: 'initial'
  • OK /css/css-align/default-alignment/parse-justify-items-003.html
    • PASS [expected FAIL] subtest: Checking justify-items: normal
    • PASS [expected FAIL] subtest: Checking justify-items: stretch
    • PASS [expected FAIL] subtest: Checking justify-items: left
    • PASS [expected FAIL] subtest: Checking justify-items: right
    • PASS [expected FAIL] subtest: Checking justify-items: start
    • PASS [expected FAIL] subtest: Checking justify-items: end
    • PASS [expected FAIL] subtest: Checking justify-items: self-start
    • PASS [expected FAIL] subtest: Checking justify-items: self-end
    • PASS [expected FAIL] subtest: Checking justify-items: center
    • PASS [expected FAIL] subtest: Checking justify-items: flex-start
    • And 12 more unexpected results...
  • OK /css/css-align/default-alignment/parse-justify-items-004.html
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: auto
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: space-around
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: auto safe
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: auto left
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: normal unsafe
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: normal stretch
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: baseline normal
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: baseline center
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: first baseline center
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-items: last baseline center
    • And 22 more unexpected results...
  • OK /css/css-align/default-alignment/parse-justify-items-005.html
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('end')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('safe left')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('unsafe center')
  • OK /css/css-align/default-alignment/place-items-shorthand-004.html
    • PASS [expected FAIL] subtest: Verify fallback values are invalid
    • PASS [expected FAIL] subtest: Verify 'left' and 'right' values are invalid for block/cross axis alignment
    • PASS [expected FAIL] subtest: Verify numeric values are invalid
    • PASS [expected FAIL] subtest: Verify empty declaration is invalid
  • OK /css/css-align/default-alignment/shorthand-serialization-001.html
    • PASS [expected FAIL] subtest: test shorthand serialization {"alignSelf":"self-end safe","shorthand":""}
    • PASS [expected FAIL] subtest: test shorthand serialization {"justifySelf":"unsafe start","shorthand":["auto start","auto unsafe start"]}
    • PASS [expected FAIL] subtest: test shorthand serialization {"justifySelf":"last baseline start","shorthand":""}
    • PASS [expected FAIL] subtest: test shorthand serialization {"alignSelf":"baseline","justifySelf":"last baseline","shorthand":"baseline last baseline"}
  • OK /css/css-align/inheritance.html
    • PASS [expected FAIL] subtest: Property align-content has initial value normal
    • PASS [expected FAIL] subtest: Property align-content does not inherit
    • PASS [expected FAIL] subtest: Property align-items has initial value normal
    • PASS [expected FAIL] subtest: Property align-items does not inherit
    • PASS [expected FAIL] subtest: Property align-self has initial value auto
    • PASS [expected FAIL] subtest: Property align-self does not inherit
    • PASS [expected FAIL] subtest: Property justify-content has initial value normal
    • PASS [expected FAIL] subtest: Property justify-content does not inherit
    • PASS [expected FAIL] subtest: Property justify-items does not inherit
    • PASS [expected FAIL] subtest: Property justify-self has initial value auto
    • And 1 more unexpected results...
  • OK /css/css-align/parsing/align-content-computed.html
    • PASS [expected FAIL] subtest: Property align-content value 'normal'
    • PASS [expected FAIL] subtest: Property align-content value 'baseline'
    • PASS [expected FAIL] subtest: Property align-content value 'last baseline'
    • PASS [expected FAIL] subtest: Property align-content value 'space-between'
    • PASS [expected FAIL] subtest: Property align-content value 'space-around'
    • PASS [expected FAIL] subtest: Property align-content value 'space-evenly'
    • PASS [expected FAIL] subtest: Property align-content value 'stretch'
    • PASS [expected FAIL] subtest: Property align-content value 'center'
    • PASS [expected FAIL] subtest: Property align-content value 'start'
    • PASS [expected FAIL] subtest: Property align-content value 'end'
    • And 4 more unexpected results...
  • OK /css/css-align/parsing/align-content-valid.html
    • PASS [expected FAIL] subtest: e.style['align-content'] = "normal" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-content'] = "baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-content'] = "first baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-content'] = "last baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-content'] = "space-between" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-content'] = "space-around" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-content'] = "space-evenly" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-content'] = "stretch" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-content'] = "center" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-content'] = "start" should set the property value
    • And 5 more unexpected results...
  • OK /css/css-align/parsing/align-items-computed.html
    • PASS [expected FAIL] subtest: Property align-items value 'normal'
    • PASS [expected FAIL] subtest: Property align-items value 'stretch'
    • PASS [expected FAIL] subtest: Property align-items value 'baseline'
    • PASS [expected FAIL] subtest: Property align-items value 'last baseline'
    • PASS [expected FAIL] subtest: Property align-items value 'center'
    • PASS [expected FAIL] subtest: Property align-items value 'start'
    • PASS [expected FAIL] subtest: Property align-items value 'end'
    • PASS [expected FAIL] subtest: Property align-items value 'self-start'
    • PASS [expected FAIL] subtest: Property align-items value 'self-end'
    • PASS [expected FAIL] subtest: Property align-items value 'flex-start'
    • And 3 more unexpected results...
  • OK /css/css-align/parsing/align-items-valid.html
    • PASS [expected FAIL] subtest: e.style['align-items'] = "normal" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-items'] = "stretch" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-items'] = "baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-items'] = "first baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-items'] = "last baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-items'] = "center" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-items'] = "start" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-items'] = "end" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-items'] = "self-start" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-items'] = "self-end" should set the property value
    • And 4 more unexpected results...
  • OK /css/css-align/parsing/align-self-computed.html
    • PASS [expected FAIL] subtest: Property align-self value 'auto'
    • PASS [expected FAIL] subtest: Property align-self value 'normal'
    • PASS [expected FAIL] subtest: Property align-self value 'stretch'
    • PASS [expected FAIL] subtest: Property align-self value 'baseline'
    • PASS [expected FAIL] subtest: Property align-self value 'last baseline'
    • PASS [expected FAIL] subtest: Property align-self value 'center'
    • PASS [expected FAIL] subtest: Property align-self value 'start'
    • PASS [expected FAIL] subtest: Property align-self value 'end'
    • PASS [expected FAIL] subtest: Property align-self value 'self-start'
    • PASS [expected FAIL] subtest: Property align-self value 'self-end'
    • And 4 more unexpected results...
  • OK /css/css-align/parsing/align-self-valid.html
    • PASS [expected FAIL] subtest: e.style['align-self'] = "auto" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-self'] = "normal" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-self'] = "stretch" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-self'] = "baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-self'] = "first baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-self'] = "last baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-self'] = "center" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-self'] = "start" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-self'] = "end" should set the property value
    • PASS [expected FAIL] subtest: e.style['align-self'] = "self-start" should set the property value
    • And 5 more unexpected results...
  • OK /css/css-align/parsing/justify-content-computed.html
    • PASS [expected FAIL] subtest: Property justify-content value 'normal'
    • PASS [expected FAIL] subtest: Property justify-content value 'space-between'
    • PASS [expected FAIL] subtest: Property justify-content value 'space-around'
    • PASS [expected FAIL] subtest: Property justify-content value 'space-evenly'
    • PASS [expected FAIL] subtest: Property justify-content value 'stretch'
    • PASS [expected FAIL] subtest: Property justify-content value 'center'
    • PASS [expected FAIL] subtest: Property justify-content value 'start'
    • PASS [expected FAIL] subtest: Property justify-content value 'end'
    • PASS [expected FAIL] subtest: Property justify-content value 'flex-start'
    • PASS [expected FAIL] subtest: Property justify-content value 'flex-end'
    • And 4 more unexpected results...
  • OK /css/css-align/parsing/justify-content-valid.html
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "normal" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "space-between" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "space-around" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "space-evenly" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "stretch" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "center" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "start" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "end" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "flex-start" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-content'] = "flex-end" should set the property value
    • And 4 more unexpected results...
  • OK /css/css-align/parsing/justify-items-computed.html
    • PASS [expected FAIL] subtest: Property justify-items value 'normal'
    • PASS [expected FAIL] subtest: Property justify-items value 'stretch'
    • PASS [expected FAIL] subtest: Property justify-items value 'baseline'
    • PASS [expected FAIL] subtest: Property justify-items value 'last baseline'
    • PASS [expected FAIL] subtest: Property justify-items value 'center'
    • PASS [expected FAIL] subtest: Property justify-items value 'start'
    • PASS [expected FAIL] subtest: Property justify-items value 'end'
    • PASS [expected FAIL] subtest: Property justify-items value 'self-start'
    • PASS [expected FAIL] subtest: Property justify-items value 'self-end'
    • PASS [expected FAIL] subtest: Property justify-items value 'flex-start'
    • And 9 more unexpected results...
  • OK /css/css-align/parsing/justify-items-valid.html
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "normal" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "stretch" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "first baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "last baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "center" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "start" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "end" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "self-start" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-items'] = "self-end" should set the property value
    • And 10 more unexpected results...
  • OK /css/css-align/parsing/justify-self-computed.html
    • PASS [expected FAIL] subtest: Property justify-self value 'auto'
    • PASS [expected FAIL] subtest: Property justify-self value 'normal'
    • PASS [expected FAIL] subtest: Property justify-self value 'stretch'
    • PASS [expected FAIL] subtest: Property justify-self value 'baseline'
    • PASS [expected FAIL] subtest: Property justify-self value 'last baseline'
    • PASS [expected FAIL] subtest: Property justify-self value 'center'
    • PASS [expected FAIL] subtest: Property justify-self value 'start'
    • PASS [expected FAIL] subtest: Property justify-self value 'end'
    • PASS [expected FAIL] subtest: Property justify-self value 'self-start'
    • PASS [expected FAIL] subtest: Property justify-self value 'self-end'
    • And 6 more unexpected results...
  • OK /css/css-align/parsing/justify-self-valid.html
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "auto" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "normal" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "stretch" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "first baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "last baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "center" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "start" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "end" should set the property value
    • PASS [expected FAIL] subtest: e.style['justify-self'] = "self-start" should set the property value
    • And 7 more unexpected results...
  • OK /css/css-align/parsing/place-self-computed.html
    • PASS [expected FAIL] subtest: Property place-self value 'auto auto'
    • PASS [expected FAIL] subtest: Property place-self value 'normal'
    • PASS [expected FAIL] subtest: Property place-self value 'stretch'
    • PASS [expected FAIL] subtest: Property place-self value 'first baseline'
    • PASS [expected FAIL] subtest: Property place-self value 'last baseline last baseline'
    • PASS [expected FAIL] subtest: Property place-self value 'center center'
    • PASS [expected FAIL] subtest: Property place-self value 'start'
    • PASS [expected FAIL] subtest: Property place-self value 'self-start'
    • PASS [expected FAIL] subtest: Property place-self value 'flex-end'
    • PASS [expected FAIL] subtest: Property place-self value 'unsafe center'
    • And 6 more unexpected results...
  • OK /css/css-align/parsing/place-self-shorthand.html
    • PASS [expected FAIL] subtest: e.style['place-self'] = "normal" should set align-self
    • PASS [expected FAIL] subtest: e.style['place-self'] = "normal" should set justify-self
    • PASS [expected FAIL] subtest: e.style['place-self'] = "normal" should not set unrelated longhands
    • PASS [expected FAIL] subtest: e.style['place-self'] = "first baseline" should set align-self
    • PASS [expected FAIL] subtest: e.style['place-self'] = "first baseline" should set justify-self
    • PASS [expected FAIL] subtest: e.style['place-self'] = "first baseline" should not set unrelated longhands
    • PASS [expected FAIL] subtest: e.style['place-self'] = "last baseline flex-start" should set align-self
    • PASS [expected FAIL] subtest: e.style['place-self'] = "last baseline flex-start" should set justify-self
    • PASS [expected FAIL] subtest: e.style['place-self'] = "last baseline flex-start" should not set unrelated longhands
    • PASS [expected FAIL] subtest: e.style['place-self'] = "unsafe self-start stretch" should set align-self
    • And 2 more unexpected results...
  • OK /css/css-align/parsing/place-self-valid.html
    • PASS [expected FAIL] subtest: e.style['place-self'] = "auto auto" should set the property value
    • PASS [expected FAIL] subtest: e.style['place-self'] = "normal" should set the property value
    • PASS [expected FAIL] subtest: e.style['place-self'] = "stretch" should set the property value
    • PASS [expected FAIL] subtest: e.style['place-self'] = "first baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['place-self'] = "last baseline last baseline" should set the property value
    • PASS [expected FAIL] subtest: e.style['place-self'] = "center center" should set the property value
    • PASS [expected FAIL] subtest: e.style['place-self'] = "start" should set the property value
    • PASS [expected FAIL] subtest: e.style['place-self'] = "self-start" should set the property value
    • PASS [expected FAIL] subtest: e.style['place-self'] = "flex-end" should set the property value
    • PASS [expected FAIL] subtest: e.style['place-self'] = "unsafe center" should set the property value
    • And 6 more unexpected results...
  • OK /css/css-align/self-alignment/parse-align-self-001.html
    • PASS [expected FAIL] subtest: Checking align-self: auto
    • PASS [expected FAIL] subtest: Checking align-self: normal
    • PASS [expected FAIL] subtest: Checking align-self: stretch
    • PASS [expected FAIL] subtest: Checking align-self: start
    • PASS [expected FAIL] subtest: Checking align-self: end
    • PASS [expected FAIL] subtest: Checking align-self: self-start
    • PASS [expected FAIL] subtest: Checking align-self: self-end
    • PASS [expected FAIL] subtest: Checking align-self: center
    • PASS [expected FAIL] subtest: Checking align-self: flex-start
    • PASS [expected FAIL] subtest: Checking align-self: flex-end
    • And 8 more unexpected results...
  • OK /css/css-align/self-alignment/parse-align-self-002.html
    • PASS [expected FAIL] subtest: Test 'initial' value when nothing is specified
    • PASS [expected FAIL] subtest: Test align-self: 'initial'
    • PASS [expected FAIL] subtest: Test grid items align-self: 'initial'
    • PASS [expected FAIL] subtest: Test flex items align-self: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned elements align-self: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned grid items align-self: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned flex items align-self: 'initial'
  • OK /css/css-align/self-alignment/parse-align-self-003.html
    • PASS [expected FAIL] subtest: Checking align-self: auto
    • PASS [expected FAIL] subtest: Checking align-self: normal
    • PASS [expected FAIL] subtest: Checking align-self: stretch
    • PASS [expected FAIL] subtest: Checking align-self: start
    • PASS [expected FAIL] subtest: Checking align-self: end
    • PASS [expected FAIL] subtest: Checking align-self: self-start
    • PASS [expected FAIL] subtest: Checking align-self: self-end
    • PASS [expected FAIL] subtest: Checking align-self: center
    • PASS [expected FAIL] subtest: Checking align-self: flex-start
    • PASS [expected FAIL] subtest: Checking align-self: flex-end
    • And 8 more unexpected results...
  • OK /css/css-align/self-alignment/parse-align-self-004.html
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: legacy
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: space-around
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: left
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: safe right
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: auto safe
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: auto left
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: normal unsafe
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: normal stretch
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: baseline normal
    • PASS [expected FAIL] subtest: Checking invalid combination - align-self: baseline center
    • And 18 more unexpected results...
  • OK /css/css-align/self-alignment/parse-align-self-005.html
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('end')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('safe start')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('unsafe center')
  • OK /css/css-align/self-alignment/parse-justify-self-001.html
    • PASS [expected FAIL] subtest: Checking justify-self: auto
    • PASS [expected FAIL] subtest: Checking justify-self: normal
    • PASS [expected FAIL] subtest: Checking justify-self: stretch
    • PASS [expected FAIL] subtest: Checking justify-self: left
    • PASS [expected FAIL] subtest: Checking justify-self: right
    • PASS [expected FAIL] subtest: Checking justify-self: start
    • PASS [expected FAIL] subtest: Checking justify-self: end
    • PASS [expected FAIL] subtest: Checking justify-self: self-start
    • PASS [expected FAIL] subtest: Checking justify-self: self-end
    • PASS [expected FAIL] subtest: Checking justify-self: center
    • And 10 more unexpected results...
  • OK /css/css-align/self-alignment/parse-justify-self-002.html
    • PASS [expected FAIL] subtest: Test 'initial' value when nothing is specified
    • PASS [expected FAIL] subtest: Test justify-self: 'initial'
    • PASS [expected FAIL] subtest: Test grid items justify-self: 'initial'
    • PASS [expected FAIL] subtest: Test flex items justify-self: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned elements justify-self: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned grid items justify-self: 'initial'
    • PASS [expected FAIL] subtest: Test absolute positioned flex items justify-self: 'initial'
  • OK /css/css-align/self-alignment/parse-justify-self-003.html
    • PASS [expected FAIL] subtest: Checking justify-self: auto
    • PASS [expected FAIL] subtest: Checking justify-self: normal
    • PASS [expected FAIL] subtest: Checking justify-self: stretch
    • PASS [expected FAIL] subtest: Checking justify-self: left
    • PASS [expected FAIL] subtest: Checking justify-self: right
    • PASS [expected FAIL] subtest: Checking justify-self: start
    • PASS [expected FAIL] subtest: Checking justify-self: end
    • PASS [expected FAIL] subtest: Checking justify-self: self-start
    • PASS [expected FAIL] subtest: Checking justify-self: self-end
    • PASS [expected FAIL] subtest: Checking justify-self: center
    • And 10 more unexpected results...
  • OK /css/css-align/self-alignment/parse-justify-self-004.html
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: legacy
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: space-around
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: auto safe
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: auto left
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: normal unsafe
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: normal stretch
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: baseline normal
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: baseline center
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: first baseline center
    • PASS [expected FAIL] subtest: Checking invalid combination - justify-self: last baseline center
    • And 16 more unexpected results...
  • OK /css/css-align/self-alignment/parse-justify-self-005.html
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('end')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('safe left')
    • PASS [expected FAIL] subtest: Test the value 'inherit' overrides current value ('unsafe center')
  • OK /css/css-align/self-alignment/place-self-shorthand-001.html
    • PASS [expected FAIL] subtest: Checking place-self: auto
    • PASS [expected FAIL] subtest: Checking place-self: normal
    • PASS [expected FAIL] subtest: Checking place-self: stretch
    • PASS [expected FAIL] subtest: Checking place-self: start
    • PASS [expected FAIL] subtest: Checking place-self: end
    • PASS [expected FAIL] subtest: Checking place-self: self-start
    • PASS [expected FAIL] subtest: Checking place-self: self-end
    • PASS [expected FAIL] subtest: Checking place-self: center
    • PASS [expected FAIL] subtest: Checking place-self: flex-start
    • PASS [expected FAIL] subtest: Checking place-self: flex-end
    • And 8 more unexpected results...
  • OK /css/css-align/self-alignment/place-self-shorthand-002.html
    • PASS [expected FAIL] subtest: Checking place-self: auto left
    • PASS [expected FAIL] subtest: Checking place-self: auto right
    • PASS [expected FAIL] subtest: Checking place-self: auto auto
    • PASS [expected FAIL] subtest: Checking place-self: auto normal
    • PASS [expected FAIL] subtest: Checking place-self: auto stretch
    • PASS [expected FAIL] subtest: Checking place-self: auto start
    • PASS [expected FAIL] subtest: Checking place-self: auto end
    • PASS [expected FAIL] subtest: Checking place-self: auto self-start
    • PASS [expected FAIL] subtest: Checking place-self: auto self-end
    • PASS [expected FAIL] subtest: Checking place-self: auto center
    • And 350 more unexpected results...
  • OK /css/css-align/self-alignment/place-self-shorthand-003.html
    • PASS [expected FAIL] subtest: Check place-self: initial - align-self expanded value
    • PASS [expected FAIL] subtest: Check place-self: initial - justify-self expanded value
  • OK /css/css-align/self-alignment/place-self-shorthand-004.html
    • PASS [expected FAIL] subtest: Verify fallback values are invalid
    • PASS [expected FAIL] subtest: Verify 'left' and 'right' values are invalid for block/cross axis alignment
    • PASS [expected FAIL] subtest: Verify numeric values are invalid
    • PASS [expected FAIL] subtest: Verify empty declaration is invalid
  • OK /css/css-align/self-alignment/place-self-shorthand-005.html
    • PASS [expected FAIL] subtest: Check place-self: inherit - align-self resolved value
    • PASS [expected FAIL] subtest: Check place-self: inherit - justify-self resolved value
  • OK /css/css-align/self-alignment/place-self-shorthand-006.html
    • PASS [expected FAIL] subtest: Checking place-self: auto auto
    • PASS [expected FAIL] subtest: Checking place-self: auto first baseline
    • PASS [expected FAIL] subtest: Checking place-self: normal normal
    • PASS [expected FAIL] subtest: Checking place-self: normal first baseline
    • PASS [expected FAIL] subtest: Checking place-self: stretch stretch
    • PASS [expected FAIL] subtest: Checking place-self: stretch first baseline
    • PASS [expected FAIL] subtest: Checking place-self: start start
    • PASS [expected FAIL] subtest: Checking place-self: start first baseline
    • PASS [expected FAIL] subtest: Checking place-self: end end
    • PASS [expected FAIL] subtest: Checking place-self: end first baseline
    • And 29 more unexpected results...

@github-actions

Copy link
Copy Markdown

⚠️ Try run (#9973502453) failed.

@delan delan changed the title flex: handle ‘align-self: baseline’ flex: handle ‘align-self: [ first | last ]? && baseline’ Jul 17, 2024
@delan
delan force-pushed the flexbox-item-baseline branch from f5d76af to d583ed0 Compare July 17, 2024 14:24
@delan delan added the T-linux-wpt Do a try run of the WPT label Jul 17, 2024
@github-actions github-actions Bot removed the T-linux-wpt Do a try run of the WPT label Jul 17, 2024
@github-actions

Copy link
Copy Markdown

🔨 Triggering try run (#9976061063) for Linux WPT

@delan
delan requested review from mrobinson and mukilan July 17, 2024 14:42
@delan
delan marked this pull request as ready for review July 17, 2024 14:42
@github-actions

Copy link
Copy Markdown

Test results for linux-wpt-layout-2020 from try job (#9976061063):

Flaky unexpected result (25)
  • FAIL [expected PASS] /_mozilla/css/dirty_viewport.html (#13731)
  • FAIL [expected PASS] /_mozilla/css/iframe/hide_and_show.html (#15265)
  • TIMEOUT [expected OK] /_webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html (#28103)
  • TIMEOUT [expected OK] /_webgl/conformance/uniforms/out-of-bounds-uniform-array-access.html (#26225)
    • NOTRUN [expected PASS] subtest: Overall test
  • TIMEOUT [expected PASS] /css/compositing/mix-blend-mode/mix-blend-mode-video.html (#32763)
  • TIMEOUT [expected OK] /fetch/api/redirect/redirect-keepalive.https.any.html (#32153)
    • TIMEOUT [expected PASS] subtest: [keepalive][iframe][load] mixed content redirect; setting up

      Test timed out
      

  • TIMEOUT /fetch/metadata/generated/element-img-environment-change.sub.html (#30111)
    • PASS [expected FAIL] subtest: sec-fetch-site - Not sent to non-trustworthy same-origin destination, no attributes
  • OK /html/browsers/browsing-the-web/navigating-across-documents/javascript-url-return-value-handling-dynamic.html (#28066)
    • FAIL [expected PASS] subtest: 0041 set in href="" targeting a frame and clicked

      assert_equals: expected "A" but got ""
      

    • FAIL [expected PASS] subtest: 0080 00FF set in href="" targeting a frame and clicked

      assert_equals: expected "�ÿ" but got ""
      

    • FAIL [expected PASS] subtest: 0080 00FF 0100 set in href="" targeting a frame and clicked

      assert_equals: expected "�ÿĀ" but got ""
      

    • FAIL [expected PASS] subtest: D83D DE0D set in href="" targeting a frame and clicked

      assert_equals: expected "😍" but got ""
      

    • FAIL [expected PASS] subtest: DE0D 0041 set in href="" targeting a frame and clicked

      assert_equals: expected "\ufffdA" but got ""
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/form-submit-button-click.html (#28765)
    • TIMEOUT [expected FAIL] subtest: Replace before load, triggered by submitButton.click()

      Test timed out
      

  • OK /html/browsers/history/the-history-interface/traverse_the_history_3.html (#21383)
    • FAIL [expected PASS] subtest: Multiple history traversals, last would be aborted

      assert_array_equals: Pages opened during history navigation lengths differ, expected array [6, 3] length 2, got [6, 3, 3] length 3
      

  • CRASH [expected OK] /html/browsers/windows/embedded-opener-remove-frame.html (#23867)
  • TIMEOUT [expected OK] /html/infrastructure/urls/base-url/document-base-url-window-initiator-is-not-opener.https.window.html (#30970)
  • TIMEOUT [expected OK] /html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid.html (#28259)
    • TIMEOUT [expected PASS] subtest: Autofocus elements in iframed documents with URL fragments should be skipped.(a element)

      Test timed out
      

    • NOTRUN [expected FAIL] subtest: Autofocus elements in top-level browsing context's documents with URL fragments should be skipped.
  • TIMEOUT /html/interaction/focus/the-autofocus-attribute/supported-elements.html (#24145)
    • FAIL [expected TIMEOUT] subtest: Element with tabindex should support autofocus

      assert_equals: expected "SPAN" but got "BODY"
      

    • TIMEOUT [expected NOTRUN] subtest: Non-HTMLElement should not support autofocus

      Test timed out
      

  • CRASH [expected OK] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html (#24066)
  • TIMEOUT [expected OK] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html (#24066)
    • NOTRUN [expected FAIL] subtest: Check that popups from a sandboxed iframe do not escape the sandbox
  • TIMEOUT [expected OK] /html/semantics/embedded-content/the-iframe-element/sandbox-top-navigation-user-activation-sticky.tentative.sub.window.html (#32154)
    • TIMEOUT [expected FAIL] subtest: Allow top with user activation + user activation

      Test timed out
      

  • TIMEOUT [expected OK] /html/semantics/forms/form-submission-0/reparent-form-during-planned-navigation-task.html (#29724)
    • TIMEOUT [expected PASS] subtest: reparent-form-during-planned-navigation-task

      Test timed out
      

  • OK /html/semantics/forms/form-submission-0/text-plain.window.html (#28687)
    • PASS [expected FAIL] subtest: text/plain: 0x00 in value (normal form)
    • PASS [expected FAIL] subtest: text/plain: \r\n in name (normal form)
  • OK /html/semantics/forms/form-submission-0/urlencoded2.window.html (#28687)
    • PASS [expected FAIL] subtest: application/x-www-form-urlencoded: non-ASCII in name and value (normal form)
  • OK /html/syntax/parsing/DOMContentLoaded-defer.html (#21550)
    • PASS [expected FAIL] subtest: The end: DOMContentLoaded and defer scripts
  • ERROR /resource-timing/content-type-parsing.html (#29131)
    • FAIL [expected TIMEOUT] subtest: mime-type 16 : text/html;charset=�gbk

      assert_equals: expected (string) "text/html" but got (undefined) undefined
      

    • TIMEOUT [expected NOTRUN] subtest: mime-type 17 : text/html;charset= gbk

      Test timed out
      

  • TIMEOUT [expected OK] /resource-timing/nested-context-navigations-iframe.html (#24311)
    • TIMEOUT [expected PASS] subtest: Test that cross-site iframe navigations are not observable by the parent, even after history navigations by the parent

      Test timed out
      

    • NOTRUN [expected PASS] subtest: Test that iframe navigations are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that crossorigin iframe navigations are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that cross-site iframe navigations are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that iframe refreshes are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that crossorigin iframe refreshes are not observable by the parent
    • NOTRUN [expected PASS] subtest: Test that cross-site iframe refreshes are not observable by the parent
  • TIMEOUT [expected OK] /webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.tentative.html (#29053)
    • TIMEOUT [expected PASS] subtest: StorageKey: test 3P about:blank window opened from a 3P iframe

      Test timed out
      

  • OK /workers/WorkerGlobalScope-close.html (#23064)
    • PASS [expected FAIL] subtest: Test sending a message after closing.
Stable unexpected results that are known to be intermittent (15)
  • OK /css/css-fonts/variations/at-font-face-font-matching.html (#20684)
    • FAIL [expected PASS] subtest: Matching font-weight: '500' should prefer '500' over '450 460'

      assert_equals: Unexpected font on test element expected 487 but got 532
      

  • TIMEOUT /css/cssom-view/MediaQueryList-addListener-handleEvent.html (#24571)
    • FAIL [expected PASS] subtest: calls handleEvent method of event listener

      assert_equals: expected (object) object "[object Object]" but got (undefined) undefined
      

  • TIMEOUT /css/cssom-view/MediaQueryList-addListener-removeListener.html (#24569)
    • TIMEOUT [expected PASS] subtest: listeners are called correct number of times

      Test timed out
      

    • NOTRUN [expected PASS] subtest: listeners are called in order they were added
  • TIMEOUT /css/cssom-view/MediaQueryList-extends-EventTarget.html (#25269)
    • TIMEOUT [expected PASS] subtest: onchange adds listener

      Test timed out
      

    • NOTRUN [expected PASS] subtest: onchange removes listener
    • NOTRUN [expected TIMEOUT] subtest: listeners for "change" type are called
  • OK [expected TIMEOUT] /css/cssom-view/MediaQueryListEvent.html (#25275)
    • PASS [expected TIMEOUT] subtest: argument of onchange
    • FAIL [expected NOTRUN] subtest: constructor of "change" event

      assert_true: expected true got false
      

  • TIMEOUT [expected OK] /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html (#29048)
    • TIMEOUT [expected FAIL] subtest: Navigating to a different document with link click

      Test timed out
      

    • NOTRUN [expected FAIL] subtest: Navigating to a different document with form submission
  • OK /html/browsers/history/the-history-interface/traverse_the_history_5.html (#21383)
    • PASS [expected FAIL] subtest: Multiple history traversals, last would be aborted
  • TIMEOUT [expected ERROR] /html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html (#32745)
  • ERROR [expected TIMEOUT] /html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html (#32745)
  • TIMEOUT [expected OK] /html/interaction/focus/the-autofocus-attribute/autofocus-dialog.html (#29087)
    • TIMEOUT [expected FAIL] subtest: <dialog>-contained autofocus element gets focused when the dialog is shown

      Test timed out
      

  • OK /html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-reload-location-reload.html (#32595)
    • PASS [expected FAIL] subtest: Reloading iframe loading='lazy' before it is loaded: location.reload
  • CRASH [expected TIMEOUT] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html (#22667)
  • TIMEOUT [expected CRASH] /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html (#24057)
  • TIMEOUT /html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html (#22154)
    • NOTRUN [expected FAIL] subtest: Check that popups from a sandboxed iframe do not escape the sandbox
  • TIMEOUT [expected OK] /html/semantics/embedded-content/the-iframe-element/sandbox-top-navigation-cross-site.tentative.sub.window.html (#31754)
    • TIMEOUT [expected FAIL] subtest: A cross-site unsandboxed iframe navigation consumes user activation and disallows top-level navigation.

      Test timed out
      

@github-actions

Copy link
Copy Markdown

✨ Try run (#9976061063) succeeded.

@mukilan
mukilan force-pushed the flexbox-item-baseline branch from d583ed0 to b3d521c Compare July 18, 2024 06:33
@mukilan

mukilan commented Jul 18, 2024 •

Copy link
Copy Markdown
Member

I've rebased against main since #32790 has landed, signed off the commits to satisfy DCO bot and force pushed to delan's branch.

@mukilan
mukilan enabled auto-merge July 18, 2024 06:38
delan added 2 commits July 18, 2024 12:10
Signed-off-by: Mukilan Thiyagarajan <[email protected]>
Signed-off-by: Mukilan Thiyagarajan <[email protected]>
@mukilan
mukilan force-pushed the flexbox-item-baseline branch from b3d521c to 754d910 Compare July 18, 2024 06:41
@mukilan
mukilan disabled auto-merge July 18, 2024 06:41
@mukilan
mukilan enabled auto-merge July 18, 2024 06:42
@mukilan
mukilan added this pull request to the merge queue Jul 18, 2024
Merged via the queue into servo:main with commit 1b1f793 Jul 18, 2024
@delan
delan deleted the flexbox-item-baseline branch July 18, 2024 11:28
Gae24 pushed a commit to Gae24/servo that referenced this pull request Jul 26, 2024
* flex: handle ‘align-self: baseline’

Signed-off-by: Mukilan Thiyagarajan <[email protected]>

* FIXME: css/css-flexbox/align-items-baseline-overflow-non-visible.html

Signed-off-by: Mukilan Thiyagarajan <[email protected]>

* Fix baseline selection

Signed-off-by: Mukilan Thiyagarajan <[email protected]>

* Fix baseline calculation with padding/border/margin

Signed-off-by: Mukilan Thiyagarajan <[email protected]>

* Fix compile errors and warnings

Signed-off-by: Mukilan Thiyagarajan <[email protected]>

* Implement ‘align-self: last baseline’

Signed-off-by: Mukilan Thiyagarajan <[email protected]>

* Fix bug where non-baseline-aligned items affected max baseline

Signed-off-by: Mukilan Thiyagarajan <[email protected]>

* Update expectations

Signed-off-by: Mukilan Thiyagarajan <[email protected]>

* Rename method

Signed-off-by: Mukilan Thiyagarajan <[email protected]>

---------

Signed-off-by: Mukilan Thiyagarajan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants