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

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

Issue 2782643004: Clarify comments regarding overflow in svg.css (Closed)
Patch Set: none 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..bb5f00d2c830df302559d24374ec03dee6f5b738 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 when <svg> is the document element. (":root" in CSS parlance.)
+ LayoutSVGRoot objects embedded within containing content get overflow: hidden by default.
+ 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