Skip to content

Commit

Permalink
Bug 1879486 [wpt PR 44492] - Don't reset the subpath start on 'close'…
Browse files Browse the repository at this point in the history
… commands, a=testonly

Automatic update from web-platform-tests
Don't reset the subpath start on 'close' commands

Only 'moveto' commands should (re)set the current subpath start
position. Resetting on 'close' will clobber state for 'implicit'
subpaths.

Bug: 40821435
Change-Id: Iea4863a154808eaee999dce5df30ea5cdf5d5a33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5279439
Auto-Submit: Fredrik Söderquist <fsopera.com>
Commit-Queue: Stephen Chenney <schenneychromium.org>
Reviewed-by: Stephen Chenney <schenneychromium.org>
Cr-Commit-Position: refs/heads/main{#1258628}

--

wpt-commits: 703bd88d0df887d5c3eac2219a442f989ac84745
wpt-pr: 44492

UltraBlame original commit: d231e460385d5ceda43393a9ea6b75115ce663a2
  • Loading branch information
marco-c committed Feb 20, 2024
1 parent b30896d commit 110b0db
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<title>Marker on implicit subpath</title>
<link rel="help" href="https://svgwg.org/svg2-draft/painting.html#RenderingMarkers">
<link rel="help" href="https://svgwg.org/svg2-draft/paths.html#PathDataClosePathCommand">
<link rel="match" href="../../struct/reftests/reference/green-100x100.html">
<svg width="400" viewBox="-200 0 400 150">
<marker id="m" markerUnits="userSpaceOnUse" orient="auto" overflow="visible">
<rect width="100" height="100" fill="green"/>
</marker>
<rect x="-200" width="100" height="100" fill="red"/>
<path d="M-200,0ZZZ" marker-mid="url(#m)" stroke="red" stroke-width="4"/>
</svg>

0 comments on commit 110b0db

Please sign in to comment.