> email to paint-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/paint-dev/CAOMQ%2Bw-LPLoOqLO-CHfUtEVn4%2BV2WMbP0W%3DyJ9eWH9WtbtfLGg%40mail.gmail.com.
I think this involves a bug in Blink. If you add will-change:opacity
to both box to force compositing, then both shadows become visible.
(which IMO, is the right behavior.) Though yes, I agree how 'overflow'
property interact with 'filter' property is a separate matter.
As for the spec language, I think it is pretty consistent with the
description of crbug.com/231577 ? (at least that's my interpretation)
"When an outermost svg element is stand-alone or embedded inline
within a parent XML grammar which does not use CSS layout or XSL
formatting, the ‘overflow’ property on the outermost svg element is
ignored for the purposes of visual rendering and the initial clipping
path is set to the bounds of the initial viewport." ---> If SVG is
standalone, ignore 'overflow' property, always clip to the bounds.
"When an outermost svg element is embedded inline within a parent XML
grammar which uses CSS layout ([CSS2], chapter 9) or XSL formatting
[XSL], if the ‘overflow’ property has the value hidden or scroll, then
the user agent will establish an initial clipping path equal to the
bounds of the initial viewport; otherwise, the initial clipping path
is set according to the clipping rules as defined in CSS2 ([CSS2],
section 11.1.1)." ---> If SVG is embedded as a XHTML tag, use CSS
rules for overflow clipping.
>> > email to paint-dev+unsubscribe@chromium.org.
Chris,Are you asking why overflow: hidden is the default for the outermost svg? In other words, why inspecting the second circle in http://jsbin.com/tokufu shows overflow: hidden?
If so, it is due to the user agent stylesheet:
On Thu, Mar 16, 2017 at 8:11 PM, Philip Rogers <p...@chromium.org> wrote:Chris,Are you asking why overflow: hidden is the default for the outermost svg? In other words, why inspecting the second circle in http://jsbin.com/tokufu shows overflow: hidden?Yes, this is my question.If so, it is due to the user agent stylesheet:Ok. It does seem to say that in the table there.Where in here is it though? The only overflow:hidden rule I see issvg:not(:root), symbol, image, marker, pattern, foreignObjectwhich is not for SVG root. Also the comment on line 42 sounds like the opposite of overflow:hidden. ?
On Fri, Mar 17, 2017 at 4:54 AM, Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 16, 2017 at 8:11 PM, Philip Rogers <p...@chromium.org> wrote:Chris,Are you asking why overflow: hidden is the default for the outermost svg? In other words, why inspecting the second circle in http://jsbin.com/tokufu shows overflow: hidden?Yes, this is my question.If so, it is due to the user agent stylesheet:Ok. It does seem to say that in the table there.Where in here is it though? The only overflow:hidden rule I see issvg:not(:root), symbol, image, marker, pattern, foreignObjectwhich is not for SVG root. Also the comment on line 42 sounds like the opposite of overflow:hidden. ?svg:not(:root) means it is for <svg> that are not the root of the document (the documentElement; "other svg" in the spec table), which matches what the table in the spec say.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/paint-dev/CAHediLRwfOMTbiQcFfOqRaBTorMjpr70hp58tBe94YziOPJRUQ%40mail.gmail.com.
On Fri, Mar 17, 2017 at 3:29 AM, Fredrik Söderquist <f...@opera.com> wrote:On Fri, Mar 17, 2017 at 4:54 AM, Chris Harrelson <chri...@chromium.org> wrote:On Thu, Mar 16, 2017 at 8:11 PM, Philip Rogers <p...@chromium.org> wrote:Chris,Are you asking why overflow: hidden is the default for the outermost svg? In other words, why inspecting the second circle in http://jsbin.com/tokufu shows overflow: hidden?Yes, this is my question.If so, it is due to the user agent stylesheet:Ok. It does seem to say that in the table there.Where in here is it though? The only overflow:hidden rule I see issvg:not(:root), symbol, image, marker, pattern, foreignObjectwhich is not for SVG root. Also the comment on line 42 sounds like the opposite of overflow:hidden. ?svg:not(:root) means it is for <svg> that are not the root of the document (the documentElement; "other svg" in the spec table), which matches what the table in the spec say.Ah, ok thanks. Does the comment on line 42 need to be updated also, or am I also misreading that?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/paint-dev/CAHediLTUETaMHDaHAVZZJcqj9rHg4P%2BG6sbY-TpjG%2BLoSK7jaA%40mail.gmail.com.