Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/WebKit/Source/core/css/svg.css

Issue 2782643004: Clarify comments regarding overflow in svg.css (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/svg.css
diff --git a/third_party/WebKit/Source/core/css/svg.css b/third_party/WebKit/Source/core/css/svg.css
index ab4e18babe40c96d17d2872c8660944f9dd87095..5cf4295ff6fb91d1f1cf02a414de7683f0f12f25 100644
--- a/third_party/WebKit/Source/core/css/svg.css
+++ b/third_party/WebKit/Source/core/css/svg.css
@@ -39,8 +39,11 @@
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-overflow].
- Opera/Firefox & WebKit agreed on NOT setting "overflow: hidden" for the outermost svg element - SVG 1.1 Errata
+ Opera/Firefox & WebKit agreed on NOT setting "overflow: hidden" for a root svg element - SVG 1.1 Errata
contains these changes as well as all future SVG specifications: see http://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0347.html
+ Note that here "root svg element" means a frame with purely SVG content, and in which SVG is the root element.
fs 2017/03/29 21:35:00 This could also be referred to as "when <svg> is t
chrishtr 2017/03/30 00:43:14 Done.
+ LayoutSVGRoot objects embededed within containing content get overflow: hidden by default.
fs 2017/03/29 21:35:00 Nit: s/embededed/embedded/
chrishtr 2017/03/30 00:43:14 Done.
+ https://svgwg.org/svg2-draft/single-page.html#render-OverflowAndClipProperties
*/
svg:not(:root), symbol, image, marker, pattern, foreignObject {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698