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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 text, foreignObject { | 50 text, foreignObject { |
51 display: block | 51 display: block |
52 } | 52 } |
53 | 53 |
54 text, tspan, textPath { | 54 text { |
55 white-space: nowrap | 55 white-space: nowrap |
56 } | 56 } |
57 | 57 |
| 58 tspan, textPath { |
| 59 white-space: inherit |
| 60 } |
| 61 |
58 /* states */ | 62 /* states */ |
59 | 63 |
60 :focus { | 64 :focus { |
61 outline: auto 5px -webkit-focus-ring-color | 65 outline: auto 5px -webkit-focus-ring-color |
62 } | 66 } |
63 | 67 |
64 /* CSS transform specification: "transform-origin 0 0 for SVG elements without a
ssociated CSS layout box, 50% 50% for all other elements". */ | 68 /* CSS transform specification: "transform-origin 0 0 for SVG elements without a
ssociated CSS layout box, 50% 50% for all other elements". */ |
65 | 69 |
66 * { | 70 * { |
67 -webkit-transform-origin: 0 0; | 71 -webkit-transform-origin: 0 0; |
68 } | 72 } |
69 | 73 |
70 html|* > svg { | 74 html|* > svg { |
71 -webkit-transform-origin: 50% 50%; | 75 -webkit-transform-origin: 50% 50%; |
72 } | 76 } |
OLD | NEW |