Overflow attribute on markers and patterns is never kept
Bug #604000 reported by
Louis Simard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scour |
Fix Released
|
High
|
codedread |
Bug Description
The file fulltests/
-- To reproduce --
Program version: trunk revision 180
Command line: ./scour.py --shorten-ids --enable-
Changed in scour: | |
importance: | Undecided → High |
summary: |
- Bad render: fulltests/web-process.png + Bad render: fulltests/web-process.svg |
summary: |
- Bad render: fulltests/web-process.svg + Overflow attribute on markers and patterns is never kept |
summary: |
- Overflow attribute on markers and patterns is never kept + Scour incorrectly removes overflow attributes |
Changed in scour: | |
status: | In Progress → Confirmed |
summary: |
- Scour incorrectly removes overflow attributes + Overflow attribute on markers and patterns is never kept |
Changed in scour: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
<marker
inkscape: stockid= "Arrow2Lend"
orient= "auto"
id="Arrow2Lend"
style=" overflow: visible" >
refY="0"
refX="0"
-->
<marker id="b" refY="0" refX="0" orient="auto">
style=" overflow: visible" was removed from the marker; restoring it allowed the arrows to show again.
The SVG specification says, for the overflow property,
> The initial value for ‘overflow’ as defined in [CSS2-overflow]
> is 'visible', and this applies also to the root ‘svg’ element;
> however, for child elements of an SVG document, SVG's user
> agent style sheet overrides this initial value and sets the
> ‘overflow’ property on elements that establish new viewports
> (e.g., ‘svg’ elements), ‘pattern’ elements and ‘marker’
> elements to the value 'hidden'.
Seeing as 'marker' gets the default value of 'overflow: hidden', the removal of default attribute values should not affect the 'overflow' property, or should be modified to be 'hidden' for elements other than <svg>.