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

Side by Side Diff: Source/core/css/svg.css

Issue 166673006: SVG rendering ignores xml:space="preserve" attribute for text (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add NeedsRebaseline for Win Created 6 years, 10 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « LayoutTests/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698