[wpt-sync] Sync PR 64552 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=311552
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64552 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64552
Details from upstream follow.
Sean Patterson <sean_patterson@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=311552
WebKit export from bug: [<!---->SVG2]<!----> remove use-<!---->script,<!----> no-<!---->change,<!----> reset-<!---->size from dominant-<!---->baseline
<pre>
[SVG2] Remove use-script, no-change and reset-size from dominant-baselineSVG 2 no longer supports the use-script, no-change and reset-size values of
dominant-baseline [1], and they are absent from the css-inline-3 grammar that
now defines the property [2].All three were already close to no-ops in WebKit: use-script mapped to
alphabetic behind a FIXME, while no-change and reset-size deferred to the
parent element's dominant baseline, which resolves to alphabetic for
horizontal text. Removing them lets the values fall back to auto, which maps
to alphabetic in horizontal writing modes and central in vertical ones, so
there is no rendering change for the cases these values previously covered.svg/custom/dominant-baseline-modes.svg and svg/custom/alignment-baseline-modes.svg
continue to specify the three values, which now fall back to auto; their
results are unchanged for the reason above.Note that WebKit still spells the two edge baselines with their SVG 1.1 names,
text-before-edge and text-after-edge. css-inline-3 renames those to text-top
and text-bottom and keeps the SVG spellings only as legacy aliases [3], and
WebKit does not yet accept the css-inline-3 names. That gap is orthogonal to
this patch, which only removes values; it is tracked separately in
webkit.org/b/321612.[1] <a href="https://w3c.github.io/svgwg/svg2-draft/text.html#DominantBaselineProperty">https://w3c.github.io/svgwg/svg2-draft/text.html#DominantBaselineProperty</a>
[2] <a href="https://drafts.csswg.org/css-inline-3/#propdef-dominant-baseline">https://drafts.csswg.org/css-inline-3/#propdef-dominant-baseline</a>
[3] <a href="https://drafts.csswg.org/css-inline/#alignment-baseline-svg-legacy">https://drafts.csswg.org/css-inline/#alignment-baseline-svg-legacy</a>WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=311552">https://bugs.webkit.org/show_bug.cgi?id=311552</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/319256@main">https://commits.webkit.org/319256@main</a>
</pre>
| Assignee | ||
Updated•3 days ago
|
| Assignee | ||
Updated•3 days ago
|
| Assignee | ||
Updated•2 days ago
|
| Assignee | ||
Comment 1•2 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 137 tests
Status Summary
Firefox
OK : 1[GitHub] 42[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 3[GitHub] 7[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 176[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 242[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 243[Gecko-windows11-64-25h2-debug] 244[Gecko-windows11-64-25h2-opt] 245[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 21[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 40[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 41[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 43[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
Chrome
OK : 1
FAIL: 3
Safari
OK : 1
PASS: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /svg/text/inheritance.svg [wpt.fyi]
- Property shape-inside has initial value auto:
FAIL - Property shape-inside does not inherit:
FAIL - Property shape-subtract has initial value auto:
FAIL - Property shape-subtract does not inherit:
FAIL
- Property shape-inside has initial value auto:
- /svg/text/parsing/shape-inside-valid.svg [wpt.fyi]
- e.style['shape-inside'] = "auto" should set the property value:
FAIL - e.style['shape-inside'] = "circle(10px at 20px -30px)" should set the property value:
FAIL - e.style['shape-inside'] = "ellipse(10px 20px at -30px 40px)" should set the property value:
FAIL - e.style['shape-inside'] = "polygon(10px 20px, -30px 40px, 50px 60px)" should set the property value:
FAIL - e.style['shape-inside'] = "url("https://example.com/\")" should set the property value:
FAIL - e.style['shape-inside'] = "circle(10px at 20px -30px) url("https://example.com/\") ellipse(10px 20px at -30px 40px)" should set the property value:
FAIL
- e.style['shape-inside'] = "auto" should set the property value:
- /svg/text/parsing/shape-subtract-valid.svg [wpt.fyi]
- e.style['shape-subtract'] = "auto" should set the property value:
FAIL - e.style['shape-subtract'] = "circle(10px at 20px -30px)" should set the property value:
FAIL - e.style['shape-subtract'] = "ellipse(10px 20px at -30px 40px)" should set the property value:
FAIL - e.style['shape-subtract'] = "polygon(10px 20px, -30px 40px, 50px 60px)" should set the property value:
FAIL - e.style['shape-subtract'] = "url("https://example.com/\")" should set the property value:
FAIL - e.style['shape-subtract'] = "circle(10px at 20px -30px) url("https://example.com/\") ellipse(10px 20px at -30px 40px)" should set the property value:
FAIL
- e.style['shape-subtract'] = "auto" should set the property value:
- /svg/text/scripted/getcharnumatposition-slr.tentative.html [wpt.fyi]
- sideways-lr:
FAIL
- sideways-lr:
- /svg/text/scripted/lengthadjust-char-positions.html [wpt.fyi]
- getSubStringLength sums the scaled advances under lengthAdjust="spacingAndGlyphs":
FAIL
- getSubStringLength sums the scaled advances under lengthAdjust="spacingAndGlyphs":
- /svg/text/scripted/textpath-pathlength-zero-startoffset.html [wpt.fyi]
- a percentage startOffset is unaffected by pathLength="0":
FAIL - pathLength="0" places a percentage startOffset where no pathLength would:
FAIL
- a percentage startOffset is unaffected by pathLength="0":
- /svg/text/scripted/textpath-textlength-text-anchor-001.tentative.svg [wpt.fyi]
- 'textLength' on <textPath> with 'text-anchor' adjustments:
FAIL
- 'textLength' on <textPath> with 'text-anchor' adjustments:
- /svg/text/reftests/text-bidi-controls-anchors-2.svg [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /svg/text/reftests/text-complex-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-complex-002.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-002.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-003.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-005.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-006.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-007.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-101.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-inline-size-201.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-multiline-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-multiline-002.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-multiline-003.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-shape-inside-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/text-shape-inside-002.svg [wpt.fyi]:
FAIL - /svg/text/reftests/textpath-pathlength-css-display-none.tentative.svg [wpt.fyi]:
FAIL - /svg/text/reftests/textpath-pathlength-zero-offset-percentage.svg [wpt.fyi]:
FAIL - /svg/text/reftests/textpath-shape-001.svg [wpt.fyi]:
FAIL - /svg/text/reftests/textpath-side-001.svg [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /svg/text/reftests/textpath-side-003.svg [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - /svg/text/reftests/textpath-side-005.svg [wpt.fyi]:
FAIL - /svg/text/reftests/transform-dynamic-change.html [wpt.fyi]:
PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-64-25h2-debug]
Tests Disabled in Gecko Infrastructure
- /svg/text/reftests/transform-dynamic-change.html [wpt.fyi]:
PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-64-25h2-debug]
Comment 3•11 hours ago
|
||
| bugherder | ||
Description
•