-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import wpt@e09fb8499bac7a1a23f1a6576c6f753571d10460
Using wpt-import in Chromium 540343d. Note to sheriffs: This CL imports external tests and adds expectations for those tests; if this CL is large and causes a few new failures, please fix the failures by adding new lines to TestExpectations rather than reverting. See: https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md NOAUTOREVERT=true R=rubber-stamper@appspot.gserviceaccount.com No-Export: true Validate-Test-Flakiness: skip Cq-Include-Trybots: luci.chromium.try:linux-wpt-identity-fyi-rel,linux-wpt-input-fyi-rel,linux-blink-rel Change-Id: I1ddf8ec0e8f7aa2304d131510c1eb373c72dde10 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4805205 Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1187192}
- Loading branch information
Chromium WPT Sync
authored and
Chromium LUCI CQ
committed
Aug 23, 2023
1 parent
600ea01
commit 1a182c4
Showing
41 changed files
with
372 additions
and
205 deletions.
There are no files selected for viewing
164 changes: 133 additions & 31 deletions
164
third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
.../blink/web_tests/external/wpt/css/CSS2/abspos/abspos-containing-block-initial-007.xht.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[abspos-containing-block-initial-007.xht] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
...party/blink/web_tests/external/wpt/css/CSS2/floats-clear/float-replaced-width-005.xht.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[float-replaced-width-005.xht] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
...blink/web_tests/external/wpt/css/CSS2/positioning/absolute-non-replaced-width-012.xht.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[absolute-non-replaced-width-012.xht] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
1 change: 1 addition & 0 deletions
1
...ty/blink/web_tests/external/wpt/css/CSS2/positioning/absolute-replaced-height-023.xht.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[absolute-replaced-height-023.xht] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
if (product == "content_shell") and (os == "mac") and (port == "mac13-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
third_party/blink/web_tests/external/wpt/css/CSS2/tables/table-anonymous-objects-136.xht.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[table-anonymous-objects-136.xht] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
...arty/blink/web_tests/external/wpt/css/css-backgrounds/border-top-right-radius-004.xht.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[border-top-right-radius-004.xht] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
1 change: 1 addition & 0 deletions
1
...d_party/blink/web_tests/external/wpt/css/css-break/table/table-col-paint-vrl-rtl.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[table-col-paint-vrl-rtl.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac13-arm64"): FAIL | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
...rnal/wpt/css/css-break/table/table-collapsed-borders-paint-at-boundary.tentative.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[table-collapsed-borders-paint-at-boundary.tentative.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
96 changes: 96 additions & 0 deletions
96
.../blink/web_tests/external/wpt/css/css-color/parsing/color-invalid-relative-color.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
[color-invalid-relative-color.html] | ||
[e.style['color'\] = "hsl(from rebeccapurple alpha alpha alpha / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hsl(from rebeccapurple h h h / h)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hsl(from rebeccapurple s h l)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hsl(from rebeccapurple s s s / s)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hsl(from rgb(10%, 20%, 30%, 40%) alpha alpha alpha / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hsl(from rgb(10%, 20%, 30%, 40%) h h h / h)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hsl(from rgb(10%, 20%, 30%, 40%) s h l)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hsl(from rgb(10%, 20%, 30%, 40%) s s s / s)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hwb(from rebeccapurple alpha alpha alpha / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hwb(from rebeccapurple b b b / b)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hwb(from rebeccapurple h h h / h)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hwb(from rebeccapurple w h b)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hwb(from rgb(10%, 20%, 30%, 40%) alpha alpha alpha / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hwb(from rgb(10%, 20%, 30%, 40%) b b b / b)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hwb(from rgb(10%, 20%, 30%, 40%) h h h / h)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "hwb(from rgb(10%, 20%, 30%, 40%) w b h)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "lch(from lch(.70 45 30 / 40%) alpha alpha alpha / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "lch(from lch(.70 45 30 / 40%) h l c / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "lch(from lch(.70 45 30) alpha alpha alpha / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "lch(from lch(.70 45 30) h l c / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "oklch(from oklch(.70 45 30 / 40%) alpha alpha alpha / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "oklch(from oklch(.70 45 30 / 40%) h l c / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "oklch(from oklch(.70 45 30) alpha alpha alpha / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
|
||
[e.style['color'\] = "oklch(from oklch(.70 45 30) h l c / alpha)" should not set the property value] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
1 change: 1 addition & 0 deletions
1
...xternal/wpt/css/css-counter-styles/simp-chinese-informal/css3-counter-styles-072.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[css3-counter-styles-072.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL | ||
if (product == "content_shell") and (os == "mac") and (port == "mac13-arm64"): FAIL |
1 change: 1 addition & 0 deletions
1
...d_party/blink/web_tests/external/wpt/css/css-flexbox/flex-direction-row-vertical.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[flex-direction-row-vertical.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac13-arm64"): FAIL | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
third_party/blink/web_tests/external/wpt/css/css-flexbox/flexbox_flex-N-1-N.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[flexbox_flex-N-1-N.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
third_party/blink/web_tests/external/wpt/css/css-flexbox/flexbox_generated-flex.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[flexbox_generated-flex.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
1 change: 1 addition & 0 deletions
1
third_party/blink/web_tests/external/wpt/css/css-flexbox/gap-002-lr.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[gap-002-lr.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac13-arm64"): FAIL | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
third_party/blink/web_tests/external/wpt/css/css-fonts/font-size-zero-1.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[font-size-zero-1.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
1 change: 1 addition & 0 deletions
1
third_party/blink/web_tests/external/wpt/css/css-fonts/font-variant-alternates-07.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[font-variant-alternates-07.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac13-arm64"): FAIL | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
third_party/blink/web_tests/external/wpt/css/css-fonts/font-variant-caps-07.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[font-variant-caps-07.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
third_party/blink/web_tests/external/wpt/css/css-fonts/font-variant-ligatures-09.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[font-variant-ligatures-09.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
...party/blink/web_tests/external/wpt/css/css-grid/abspos/positioned-grid-items-025.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[positioned-grid-items-025.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
third_party/blink/web_tests/external/wpt/css/css-images/normalization-conic.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[normalization-conic.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
...arty/blink/web_tests/external/wpt/css/css-overflow/overflow-ellipsis-dynamic-001.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[overflow-ellipsis-dynamic-001.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
...ss/css-shapes/shape-outside/shape-box/shape-outside-margin-box-border-radius-004.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[shape-outside-margin-box-border-radius-004.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
3 changes: 3 additions & 0 deletions
3
..._party/blink/web_tests/external/wpt/css/css-sizing/fit-content-block-size-abspos.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[fit-content-block-size-abspos.html] | ||
expected: | ||
if (product == "content_shell") and (os == "mac") and (port == "mac12-arm64"): FAIL |
12 changes: 12 additions & 0 deletions
12
...ts/external/wpt/css/css-transforms/transform-box/reference/svgbox-rect-dasharray-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<style> | ||
#target { | ||
fill: green; | ||
stroke: black; | ||
stroke-width: 20; | ||
stroke-dasharray: 100 50; | ||
} | ||
</style> | ||
<svg width="400" height="300"> | ||
<rect id="target" width="50" height="100" x="50" y="80"/> | ||
</svg> |
14 changes: 14 additions & 0 deletions
14
...nk/web_tests/external/wpt/css/css-transforms/transform-box/reference/svgbox-rect-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
|
||
<style> | ||
#target { | ||
fill: green; | ||
stroke: black; | ||
stroke-width: 20; | ||
transform: none; | ||
} | ||
</style> | ||
|
||
<svg width="400" height="300"> | ||
<rect id="target" width="50" height="100" x="50" y="80"/> | ||
</svg> |
12 changes: 6 additions & 6 deletions
12
...link/web_tests/external/wpt/css/css-transforms/transform-box/stroke-box-mutation-001.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html class="reftest-wait"> | ||
<title>transform-box: stroke-box, stroke mutated</title> | ||
<link rel="match" href="reference/svgbox-ref.html"> | ||
<link rel="match" href="reference/svgbox-rect-ref.html"> | ||
<link rel="help" href="https://drafts.csswg.org/css-transforms-1/#transform-box"> | ||
<script src="/common/reftest-wait.js"></script> | ||
<script src="/common/rendering-utils.js"></script> | ||
<meta name="assert" content="This should display a C shape with the center of the top endpoint at 200,100."/> | ||
<meta name="assert" content="This should display a rect whose center of rotation is at (20, 0) of its stroke-box."/> | ||
<style> | ||
#target { | ||
fill: green; | ||
stroke: black; | ||
stroke-width: 25; | ||
stroke-width: 10; | ||
transform-box: stroke-box; | ||
transform-origin: 25px 0px; | ||
transform-origin: 20px 0px; | ||
transform: rotate(90deg); | ||
} | ||
</style> | ||
<svg width="400" height="300"> | ||
<path id="target" d="M200,100v100h100v-100"/> | ||
<rect id="target" width="100" height="50" x="100" y="100"/> | ||
</svg> | ||
<script> | ||
waitForAtLeastOneFrame().then(() => { | ||
document.querySelector('#target').style.strokeWidth = '50px'; | ||
document.querySelector('#target').style.strokeWidth = '20px'; | ||
takeScreenshot(); | ||
}); | ||
</script> |
12 changes: 6 additions & 6 deletions
12
...link/web_tests/external/wpt/css/css-transforms/transform-box/stroke-box-mutation-002.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html class="reftest-wait"> | ||
<title>transform-box: stroke-box, shape mutated</title> | ||
<link rel="match" href="reference/svgbox-ref.html"> | ||
<link rel="match" href="reference/svgbox-rect-ref.html"> | ||
<link rel="help" href="https://drafts.csswg.org/css-transforms-1/#transform-box"> | ||
<script src="/common/reftest-wait.js"></script> | ||
<script src="/common/rendering-utils.js"></script> | ||
<meta name="assert" content="This should display a C shape with the center of the top endpoint at 200,100."/> | ||
<meta name="assert" content="This should display a rect whose center of rotation is at (20, 0) of its stroke-box."/> | ||
<style> | ||
#target { | ||
fill: green; | ||
stroke: black; | ||
stroke-width: 50; | ||
stroke-width: 20; | ||
transform-box: stroke-box; | ||
transform-origin: 25px 0px; | ||
transform-origin: 20px 0px; | ||
transform: rotate(90deg); | ||
} | ||
</style> | ||
<svg width="400" height="300"> | ||
<path id="target" d="M200,100v50h100v-50"/> | ||
<rect id="target" width="100" height="100" x="100" y="100"/> | ||
</svg> | ||
<script> | ||
waitForAtLeastOneFrame().then(() => { | ||
document.querySelector('#target').setAttribute('d', 'M200,100v100h100v-100'); | ||
document.querySelector('#target').setAttribute('height', '50'); | ||
takeScreenshot(); | ||
}); | ||
</script> |
14 changes: 7 additions & 7 deletions
14
...link/web_tests/external/wpt/css/css-transforms/transform-box/stroke-box-mutation-003.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html class="reftest-wait"> | ||
<title>transform-box: stroke-box, on group (<g>), stroke on child mutated</title> | ||
<link rel="match" href="reference/svgbox-ref.html"> | ||
<link rel="match" href="reference/svgbox-rect-ref.html"> | ||
<link rel="help" href="https://drafts.csswg.org/css-transforms-1/#transform-box"> | ||
<script src="/common/reftest-wait.js"></script> | ||
<script src="/common/rendering-utils.js"></script> | ||
<meta name="assert" content="This should display a C shape with the center of the top endpoint at 200,100."/> | ||
<meta name="assert" content="This should display a rect whose center of rotation is at (20, 0) of its stroke-box."/> | ||
<style> | ||
#target { | ||
transform-box: stroke-box; | ||
transform-origin: 25px 0px; | ||
transform-origin: 20px 0px; | ||
transform: rotate(90deg); | ||
} | ||
#target > path { | ||
#target > rect { | ||
fill: green; | ||
stroke: black; | ||
stroke-width: 25; | ||
stroke-width: 10; | ||
} | ||
</style> | ||
<svg width="400" height="300"> | ||
<g id="target"> | ||
<path d="M200,100v100h100v-100"/> | ||
<rect width="100" height="50" x="100" y="100"/> | ||
</g> | ||
</svg> | ||
<script> | ||
waitForAtLeastOneFrame().then(() => { | ||
document.querySelector('#target > path').style.strokeWidth = '50px'; | ||
document.querySelector('#target > rect').style.strokeWidth = '20px'; | ||
takeScreenshot(); | ||
}); | ||
</script> |
16 changes: 8 additions & 8 deletions
16
...link/web_tests/external/wpt/css/css-transforms/transform-box/stroke-box-mutation-004.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html class="reftest-wait"> | ||
<title>transform-box: stroke-box, on group (<g>), child shape mutated</title> | ||
<link rel="match" href="reference/svgbox-ref.html"> | ||
<link rel="match" href="reference/svgbox-rect-ref.html"> | ||
<link rel="help" href="https://drafts.csswg.org/css-transforms-1/#transform-box"> | ||
<script src="/common/reftest-wait.js"></script> | ||
<script src="/common/rendering-utils.js"></script> | ||
<meta name="assert" content="This should display a C shape with the center of the top endpoint at 200,100."/> | ||
<meta name="assert" content="This should display a rect whose center of rotation is at (20, 0) of its stroke-box."/> | ||
<style> | ||
#target { | ||
transform-box: stroke-box; | ||
transform-origin: 25px 0px; | ||
transform-origin: 20px 0px; | ||
transform: rotate(90deg); | ||
} | ||
#target > path { | ||
#target > rect { | ||
fill: green; | ||
stroke: black; | ||
stroke-width: 50; | ||
stroke-width: 20; | ||
} | ||
</style> | ||
<svg width="400" height="300"> | ||
<g id="target"> | ||
<path d="M200,100v50h100v-50"/> | ||
<rect width="100" height="100" x="100" y="100"/> | ||
</g> | ||
</svg> | ||
<script> | ||
waitForAtLeastOneFrame().then(() => { | ||
const path = document.querySelector('#target > path'); | ||
path.setAttribute('d', 'M200,100v100h100v-100'); | ||
const rect = document.querySelector('#target > rect'); | ||
rect.setAttribute('height', '50'); | ||
takeScreenshot(); | ||
}); | ||
</script> |
Oops, something went wrong.