On bug 214278 the WPT import for css/css-writing-modes tests was updated to WPT e3698c7bb3. This are the new failures on ref-tests detected: imported/w3c/web-platform-tests/css/css-writing-modes/abs-pos-with-replaced-child.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-004.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-018.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/baseline-with-orthogonal-flow-001.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/direction-upright-001.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/direction-upright-002.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/img-intrinsic-size-contribution-001.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/img-intrinsic-size-contribution-002.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/inline-box-border-vlr-001.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/slr-alongside-vlr-floats.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/srl-alongside-vrl-floats.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/tcy-white-space-processing-001.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/text-orientation-initial.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-001.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-032.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-033.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-034.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-035.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-036.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-037.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-038.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-039.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-040.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-041.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-042.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-043.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-044.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-045.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-046.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-047.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-048.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-049.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-050.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-051.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-052.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-053.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-054.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-writing-modes/wm-propagation-body-055.html [ ImageOnlyFailure ]
On top of that we have: * imported/w3c/web-platform-tests/css/css-writing-modes/normal-flow-overconstrained-vlr-005.xht was failing before for all platforms, now only seems to fail for iOS * imported/w3c/web-platform-tests/css/css-writing-modes/sizing-orthog-htb-in-vrl-013.xht was failing before for all platforms, now only seems to fail for Mac-wk1 And for platform glib (GTK/WPE): imported/w3c/web-platform-tests/css/css-writing-modes/available-size-004.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-006.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-008.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-009.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-013.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-015.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-016.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-018.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/available-size-019.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/baseline-with-orthogonal-flow-001.html [ Pass ] imported/w3c/web-platform-tests/css/css-writing-modes/inline-box-border-vlr-001.html [ Pass ] For WPE: imported/w3c/web-platform-tests/css/css-writing-modes/normal-flow-overconstrained-vrl-004.xht [ Pass ]
<rdar://problem/65861695>
(In reply to Carlos Alberto Lopez Perez from comment #1) snip. > imported/w3c/web-platform-tests/css/css-writing-modes/available-size-013. > html [ Pass ] Started image failing somewhere between r265018 (last good, WPE) and r265024 (first bad, both ports). Maybe related to r265020?
Created attachment 427508 [details] Patch
Created attachment 427522 [details] Patch
Created attachment 427524 [details] Patch
Created attachment 427527 [details] Patch
Created attachment 427532 [details] Patch
Comment on attachment 427532 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427532&action=review > Source/WebCore/dom/Element.cpp:3502 > + const RenderStyle* style = nullptr; > + if (allowRenderStyle == AllowRenderStyle::No && document().documentElement() == this) { > + if (hasRareData()) > + style = elementRareData()->computedStyle(); > + if (!style) > + setNodeFlag(NodeFlag::IsComputedStyleInvalidFlag); > + } else > + style = existingComputedStyle(); It is deeply wrong to insert this sort of hack into our core code to paper over a minor test failure. Pretty sure the actual issue here is not properly understood.
Safari Technology Preview 170 is passing all three tests, which this patch was progressing, do we need this anymore? https://wpt.fyi/results/css/css-writing-modes?label=master&label=experimental&aligned=&q=css-writing-modes%2F
Closing based on Ahmad's testing.