Closed
Bug 1413126
Opened 7 years ago
Closed 5 years ago
SVG non-scaling-stroke vector-effect in flex containers
Categories
(Core :: SVG, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1247218
People
(Reporter: anton.kagakin, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
5.07 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 Steps to reproduce: In attached html file you can see structure that has flex css style and a container with SVG and <path> in it with vector-effect="non-scaling-stroke". The path is not rendered on a screen. Remove vector-effect from path and path will be rendered OR replace all flex styles to width/height and path will be rendered too. Such behaviour also happens on svg updates (paths disappears from the screen). Actual results: No path rendered. Expected results: Path should be rendered.
Updated•7 years ago
|
Priority: -- → P3
Comment 1•5 years ago
|
||
When I open dev tools and select the <path> then it renders. Maybe we have some problems computing the element's box during some of the flex reflow stages?
Comment 2•5 years ago
|
||
The frame tree upon loading looks like this.
FlexContainer(div)(1)@7f175ce62ee0 parent=7f175ce62e28 {0,0,25360,30472} [state=0000022800100220] [content=7f175ce7e5e0] [cs=7f17660a16a8]<
FlexContainer(article)(1)@7f175ce62f80 parent=7f175ce62ee0 {0,0,25360,30472} [state=0000026800100220] [content=7f175ce7e670] [cs=7f17660a1798]<
HTMLScroll(div)(1)@7f175ce630c0 parent=7f175ce62f80 {60,0,25240,30412} [state=0080020000000000] [content=7f175ce7e700] [cs=7f17660a1888]<
FlexContainer(div)(1)@7f175ce63020 parent=7f175ce630c0 {0,0,25240,30412} [state=0200000000100200] [content=7f175ce7e700] [cs=7f175ce6a2f8:-moz-scrolled-content]<
Block(div)(1)@7f175ce63300 parent=7f175ce63020 {0,0,25240,30412} [state=0000022800100220] [content=7f175ce7e790] [cs=7f17660a1978]<
line 7f175ce63938: count=1 state=inline,clean,prevmarginclean,not impacted,not wrapped,before:nobr,after:nobr[0x300] {0,0,0,0} <
Placeholder(div)(1)@7f175ce63470 parent=7f175ce63300 {0,0,0,0} [state=000000000c200000] [content=7f175ce7e820] [cs=7f175ce6a5c8:-moz-oof-placeholder] outOfFlowFrame=Block(div)(1)@7f175ce633b8
>
AbsoluteList 0x7f175d9de1e0 <
Block(div)(1)@7f175ce633b8 parent=7f175ce63300 {0,0,25240,30412} [state=0000066808d00320] [content=7f175ce7e820] [cs=7f17660a1a68]<
line 7f175ce638e8: count=1 state=block,clean,prevmarginclean,not impacted,not wrapped,before:nobr,after:nobr[0x8] {0,0,25240,30412} <
Block(div)(1)@7f175ce634e8 parent=7f175ce633b8 {0,0,25240,30412} [state=0000022808100220] [content=7f175ce7e8b0] [cs=7f17660a1b58]<
line 7f175ce63898: count=1 state=block,clean,prevmarginclean,not impacted,not wrapped,before:nobr,after:nobr[0x8] {0,0,25240,30412} <
Block(div)(1)@7f175ce635a0 parent=7f175ce634e8 {0,0,25240,30412} [state=0000022808100220] [content=7f175ce7e940] [cs=7f17660a1c48]<
line 7f175ce63848: count=1 state=block,clean,prevmarginclean,not impacted,not wrapped,before:nobr,after:nobr[0x8] {0,0,25240,30412} <
SVGOuterSVG(svg)(1)@7f175ce63658 parent=7f175ce635a0 {0,0,25240,30412} [state=0280060000110010] [content=7f175d99a250] [cs=7f17660a1d38]<
SVGOuterSVGAnonChild(svg)(1)@7f175ce63730 parent=7f175ce63658 {0,0,0,0} [state=0000080000010000] transformed [content=7f175d99a250] [cs=7f175ce6a988:-moz-svg-outer-svg-anon-child]<
SVGGeometry(path)(1)@7f175ce637d0 parent=7f175ce63730 {0,0,0,0} [state=0000080000010000] [content=7f175d1f1570] [cs=7f17660a1e28]
>
The SVGOuterSVGAnonChild having an mRect of {0,0,0,0} seems wrong.
Updated•5 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•