+2006-09-24 Eric Seidel <eric@eseidel.com>
+
+ Reviewed by mjs.
+
+ Add test: svg/custom/viewport-clip.svg
+ and update results for:
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=11007
+ (Also update some old results, due to CoreImage variance)
+
+ * svg/custom/baseval-animval-equality.svg:
+ * svg/custom/empty-merge-expected.checksum:
+ * svg/custom/empty-merge-expected.png:
+ * svg/custom/empty-merge-expected.txt:
+ * svg/custom/empty-merge.svg:
+ * svg/custom/feDisplacementMap-01-expected.checksum:
+ * svg/custom/feDisplacementMap-01-expected.png:
+ * svg/custom/foreign-object-skew-expected.checksum:
+ * svg/custom/foreign-object-skew-expected.png:
+ * svg/custom/gradient-stroke-width-expected.txt:
+ * svg/custom/grayscale-gradient-mask-expected.checksum:
+ * svg/custom/grayscale-gradient-mask-expected.png:
+ * svg/custom/grayscale-gradient-mask-expected.txt:
+ * svg/custom/grayscale-gradient-mask.svg:
+ * svg/custom/image-with-transform-clip-filter-expected.checksum:
+ * svg/custom/image-with-transform-clip-filter-expected.png:
+ * svg/custom/path-bad-data-expected.checksum:
+ * svg/custom/path-bad-data-expected.png:
+ * svg/custom/path-bad-data-expected.txt:
+ * svg/custom/text-filter-expected.checksum:
+ * svg/custom/text-filter-expected.png:
+ * svg/custom/text-image-opacity-expected.checksum:
+ * svg/custom/text-image-opacity-expected.png:
+ * svg/custom/transform-scale-parse.svg:
+ * svg/custom/viewport-clip-expected.checksum: Added.
+ * svg/custom/viewport-clip-expected.png: Added.
+ * svg/custom/viewport-clip-expected.txt: Added.
+ * svg/custom/viewport-clip.svg: Added.
+
2006-09-24 Eric Seidel <eric@eseidel.com>
Reviewed by beth.
-38ce93d34c8b3bec6d5af29db8b012ca
\ No newline at end of file
+7847bf2cac88d386612c4edbf7647149
\ No newline at end of file
-18bb0232784fc327349345715e225712
\ No newline at end of file
+56920e9811a0452b4abf17a9e6ceebf1
\ No newline at end of file
-e258c565778c5d676fe5cec0c11b2ee0
\ No newline at end of file
+83cfeb4c4928e79d480b5561f7428813
\ No newline at end of file
-a45431d4850cfd56f901bca8af852429
\ No newline at end of file
+e30ae2cc19c549210797d09346a96d45
\ No newline at end of file
-6135572f19fd31f87baddc184313d89b
\ No newline at end of file
+4b5bce014d87f7ee731c593627cb0fb1
\ No newline at end of file
-a2b347c38e9e789304f4f191ff6da3b6
\ No newline at end of file
+aaffa1aef88193713a911d5bffbcda47
\ No newline at end of file
-73d605db9681b0da273934f8a1210e83
\ No newline at end of file
+7491546b0e44516d4f4670ba221dbaa5
\ No newline at end of file
-8f97216e9a28955079733ee716bdb032
\ No newline at end of file
+23565dc1851811578a4b0b0fb4552b98
\ No newline at end of file
-85fc21b21c47910cdf1b7a4958189b51
\ No newline at end of file
+e32796ddf5466e88f1add0dab18c9b1e
\ No newline at end of file
-ec702311470c62ec967603a109d90101
\ No newline at end of file
+b26779c28df76ad6bc0f28f0badd85f3
\ No newline at end of file
-389a8b804eab2be3c66dcf321ee58457
\ No newline at end of file
+0c14a2775484871c233a6500c2c448a1
\ No newline at end of file
-fb986799766726331446c798d0c835a4
\ No newline at end of file
+702fd3fa51fe7b7989459acdfdd2e2ea
\ No newline at end of file
-e36b9967afea9cf314ca1b52f8ffcc86
\ No newline at end of file
+be6fcbf38f50ceb52ca70868ff824af5
\ No newline at end of file
<?xml version="1.0"?>
-<svg xmlns="http://www.w3.org/2000/svg" id="svg" width="400" height="400">
+<svg xmlns="http://www.w3.org/2000/svg" id="svg" width="600" height="400">
<foreignObject>
<html xmlns="http://www.w3.org/1999/xhtml">
<div id="log">
-d73791f973c72efa8e996b1630f872cb
\ No newline at end of file
+75dad2424ff5e9d3d4e2534fd38dd7c4
\ No newline at end of file
-KCanvasResource {id="MyFilter" [type=FILTER] [bounding box=at (0,0) size 100x100] [bounding box mode=0] [effects=[[type=MERGE] [subregion="at (0,0) size 100x100"][merge inputs=[]]]]}
+KCanvasResource {id="MyFilter" [type=FILTER] [bounding box=at (0,0) size 100x100] [bounding box mode=0] [effects=[[type=MERGE] [subregion="at (0,0) size 800x600"][merge inputs=[]]]]}
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
- KCanvasContainer {svg} at (46.56,-0.94) size 191.76x191.76
- KCanvasContainer {defs} at (47.50,0) size 0x0
- KCanvasItem {rect} at (48.44,0.94) size 189.88x189.88 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#888888]}] [data="M1.00,1.00L101.00,1.00L101.00,101.00L1.00,101.00"]
- KCanvasContainer {g} at (46.56,-0.94) size 189.88x189.88 [filter=#MyFilter]
- KCanvasItem {rect} at (46.56,-0.94) size 189.88x189.88 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
+ KCanvasContainer {svg} at (-0.50,-0.50) size 102x102
+ KCanvasContainer {defs} at (0,0) size 0x0
+ KCanvasItem {rect} at (0.50,0.50) size 101x101 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#888888]}] [data="M1.00,1.00L101.00,1.00L101.00,101.00L1.00,101.00"]
+ KCanvasContainer {g} at (-0.50,-0.50) size 101x101 [filter=#MyFilter]
+ KCanvasItem {rect} at (-0.50,-0.50) size 101x101 [stroke={[type=SOLID] [color=#0000FF]}] [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="7.5cm" height="5cm" viewBox="0 0 100 100"
- xmlns="http://www.w3.org/2000/svg" version="1.1">
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<title>TestCase for empty feMerge component</title>
<defs>
<filter id="MyFilter" filterUnits="userSpaceOnUse" x="0" y="0" width="100" height="100">
-7105fd856be4c1be2936ef496d596fc3
\ No newline at end of file
+7a1eb24d16956546e2a063ca87ab9b23
\ No newline at end of file
-36daf463c6f4ea30331a7609a870231a
\ No newline at end of file
+7d9ef189266928141f792c18c6f406a4
\ No newline at end of file
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:(null) affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
KRenderingPaintServer {id="black2white" [type=LINEAR-GRADIENT] [stops=[(0.00,#000000), (1.00,#0000004C)]] [start=(0,0)] [end=(100,0)]}
KRenderingPaintServer {id="red-grad" [type=LINEAR-GRADIENT] [stops=[(0.00,#D7433C), (1.00,#BD1F1844)]] [start=(0,0)] [end=(100,0)]}
KRenderingPaintServer {id="red-radial-grad" [type=RADIAL-GRADIENT] [stops=[(0.00,#D7433C), (1.00,#BD1F1844)]] [center=(50,50)] [focal=(50,50)] [radius=50.00]}
-61c7b4b2a6201be323d0464e593823db
\ No newline at end of file
+84239fbfc245574f6492dc4743e43a40
\ No newline at end of file
KCanvasResource {id="Mask" [type=MASKER]}
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
- KCanvasContainer {svg} at (0.33,0) size 301.33x113
- KCanvasContainer {defs} at (0.33,0) size 0x0
- KCanvasContainer {mask} at (0.33,0) size 301.33x113
- KCanvasItem {rect} at (0.33,0) size 301.33x113 [fill={[type=LINEAR-GRADIENT] [stops=[(0.00,#FFFFFF), (1.00,#000000)]] [bounding box mode=0] [start=(0,0)] [end=(800,0)]}] [data="M0.00,0.00L800.00,0.00L800.00,300.00L0.00,300.00"]
- KCanvasItem {rect} at (0.33,0) size 301.33x113 [fill={[type=SOLID] [color=#FF8080]}] [data="M0.00,0.00L800.00,0.00L800.00,300.00L0.00,300.00"]
- KCanvasItem {rect} at (0.33,37.67) size 301.33x37.67 [fill={[type=SOLID] [color=#0000FF]}] [data="M0.00,100.00L800.00,100.00L800.00,200.00L0.00,200.00"]
+ KCanvasContainer {svg} at (0,143.90) size 780.49x292.68
+ KCanvasContainer {defs} at (0,143.90) size 0x0
+ KCanvasContainer {mask} at (0,143.90) size 780.49x292.68
+ KCanvasItem {rect} at (0,143.90) size 780.49x292.68 [fill={[type=LINEAR-GRADIENT] [stops=[(0.00,#FFFFFF), (1.00,#000000)]] [bounding box mode=0] [start=(0,0)] [end=(800,0)]}] [data="M0.00,0.00L800.00,0.00L800.00,300.00L0.00,300.00"]
+ KCanvasItem {rect} at (0,143.90) size 780.49x292.68 [fill={[type=SOLID] [color=#FF8080]}] [data="M0.00,0.00L800.00,0.00L800.00,300.00L0.00,300.00"]
+ KCanvasItem {rect} at (0,241.46) size 780.49x97.56 [fill={[type=SOLID] [color=#0000FF]}] [data="M0.00,100.00L800.00,100.00L800.00,200.00L0.00,200.00"]
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="8cm" height="3cm" viewBox="0 0 800 300" version="1.1"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<svg viewBox="0 0 820 320" version="1.1" xmlns="http://www.w3.org/2000/svg">
<desc>Example mask01 - blue text masked with gradient against red background
</desc>
<defs>
-24f4ba5a9a930beca8c1d1ea49356005
\ No newline at end of file
+00bc36aedfe75c788cf5d54dce444148
\ No newline at end of file
-b6275b6bf7e979d90ca327219c35a41d
\ No newline at end of file
+094d16f58ae86cd9085a07f399074697
\ No newline at end of file
-layer at (0,0) size 785x755
- RenderView at (0,0) size 785x600
+layer at (0,0) size 800x755
+ RenderView at (0,0) size 800x600
KCanvasContainer {svg} at (0,-233.40) size 677.31x494.82
KCanvasItem {path} at (0,-233.40) size 677.31x494.82 [fill={[type=SOLID] [color=#000000]}] [data="M602.78,261.43C677.31,100.20,602.79,-89.02,436.34,-161.21C269.89,-233.40,74.53,-161.22,0.00,-0.00"]
-ca758134f971941a127e522830bc6856
\ No newline at end of file
+4e78b875afa90dff3d0d06f21abe5002
\ No newline at end of file
-16b14a694efdd66b070c6e52415f0f0c
\ No newline at end of file
+dd6e0900f76d7d5816ee28043c5c02f0
\ No newline at end of file
<?xml version="1.0"?>
-<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
+<svg xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10" width="100" height="100" fill="red" />
<rect x="0" y="0" width="50" height="50" fill="green" transform="translate(10,10), scale(2)" />
</svg>
--- /dev/null
+16310588467cfc20d551635abc59b784
\ No newline at end of file
--- /dev/null
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+ KCanvasContainer {svg} at (0,0) size 200x200
+ KCanvasItem {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00L200.00,0.00L200.00,200.00L0.00,200.00"]
+ KCanvasItem {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px">
+ <rect width="200" height="200" fill="red" />
+ <rect width="100" height="100" fill="green" />
+</svg>
+2006-09-25 Eric Seidel <eric@eseidel.com>
+
+ Reviewed by mjs.
+
+ Outermost <svg> element should clip to viewport
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=11007
+
+ Test: svg/custom/viewport-clip.svg
+
+ * css/svg.css: change svg:root overflow: from 'visible' to 'hidden'
+
2006-09-25 Anders Carlsson <acarlsson@apple.com>
Reviewed by Maciej.
to the bounds of the initial viewport.
*/
svg:root {
- overflow: visible !important
+ overflow: hidden !important
}
svg {