OLD | NEW |
1 /* | 1 /* |
2 * The default style sheet used to render SVG. | 2 * The default style sheet used to render SVG. |
3 * | 3 * |
4 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved. | 4 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 Opera/Firefox & WebKit agreed on NOT setting "overflow: hidden" for the oute
rmost svg element - SVG 1.1 Errata | 42 Opera/Firefox & WebKit agreed on NOT setting "overflow: hidden" for the oute
rmost svg element - SVG 1.1 Errata |
43 contains these changes as well as all future SVG specifications: see http://
lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0347.html | 43 contains these changes as well as all future SVG specifications: see http://
lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0347.html |
44 */ | 44 */ |
45 | 45 |
46 svg:not(:root), symbol, image, marker, pattern, foreignObject { | 46 svg:not(:root), symbol, image, marker, pattern, foreignObject { |
47 overflow: hidden | 47 overflow: hidden |
48 } | 48 } |
49 | 49 |
50 svg:root { | 50 svg:root { |
51 width: 100%; | 51 width: 100%; |
52 height: 100% | 52 height: 100%; |
| 53 scroll-blocks-on: start-touch wheel-event; |
53 } | 54 } |
54 | 55 |
55 text, foreignObject { | 56 text, foreignObject { |
56 display: block | 57 display: block |
57 } | 58 } |
58 | 59 |
59 text { | 60 text { |
60 white-space: nowrap | 61 white-space: nowrap |
61 } | 62 } |
62 | 63 |
63 tspan, textPath { | 64 tspan, textPath { |
64 white-space: inherit | 65 white-space: inherit |
65 } | 66 } |
66 | 67 |
67 /* states */ | 68 /* states */ |
68 | 69 |
69 :focus { | 70 :focus { |
70 outline: auto 5px -webkit-focus-ring-color | 71 outline: auto 5px -webkit-focus-ring-color |
71 } | 72 } |
72 | 73 |
73 /* CSS transform specification: "transform-origin 0 0 for SVG elements without a
ssociated CSS layout box, 50% 50% for all other elements". */ | 74 /* CSS transform specification: "transform-origin 0 0 for SVG elements without a
ssociated CSS layout box, 50% 50% for all other elements". */ |
74 | 75 |
75 * { | 76 * { |
76 -webkit-transform-origin: 0 0; | 77 -webkit-transform-origin: 0 0; |
77 } | 78 } |
78 | 79 |
79 html|* > svg { | 80 html|* > svg { |
80 -webkit-transform-origin: 50% 50%; | 81 -webkit-transform-origin: 50% 50%; |
81 } | 82 } |
OLD | NEW |