https://bugs.webkit.org/show_bug.cgi?id=72386
Patch by Florin Malita <fmalita@google.com> on 2011-11-16
Reviewed by Simon Fraser.
Drop unnecessary text elements from the svg/FO tests to avoid platform font size variance.
* platform/chromium-cg-mac-snowleopard/svg/foreignObject/clip-expected.png: Removed.
* platform/chromium-cg-mac-snowleopard/svg/foreignObject/filter-expected.png: Removed.
* platform/chromium-cg-mac-snowleopard/svg/foreignObject/mask-expected.png: Removed.
* platform/chromium-win/svg/foreignObject/background-render-phase-expected.txt: Removed.
* platform/chromium-win/svg/foreignObject/clip-expected.txt: Removed.
* platform/chromium-win/svg/foreignObject/filter-expected.txt: Removed.
* platform/chromium-win/svg/foreignObject/mask-expected.txt: Removed.
* platform/chromium/svg/foreignObject/background-render-phase-expected.txt: Removed.
* platform/chromium/svg/foreignObject/clip-expected.txt: Removed.
* platform/chromium/svg/foreignObject/filter-expected.txt: Removed.
* platform/chromium/svg/foreignObject/mask-expected.txt: Removed.
* platform/mac-snowleopard/svg/foreignObject/multiple-foreign-objects-expected.txt: Removed.
* platform/qt/svg/foreignObject/background-render-phase-expected.png: Removed.
* platform/qt/svg/foreignObject/background-render-phase-expected.txt: Removed.
* platform/qt/svg/foreignObject/clip-expected.png: Removed.
* platform/qt/svg/foreignObject/clip-expected.txt: Removed.
* platform/qt/svg/foreignObject/filter-expected.png: Removed.
* platform/qt/svg/foreignObject/filter-expected.txt: Removed.
* platform/qt/svg/foreignObject/mask-expected.png: Removed.
* platform/qt/svg/foreignObject/mask-expected.txt: Removed.
* platform/qt/svg/foreignObject/multiple-foreign-objects-expected.png: Removed.
* platform/qt/svg/foreignObject/multiple-foreign-objects-expected.txt: Removed.
* svg/foreignObject/background-render-phase-expected.txt:
* svg/foreignObject/background-render-phase.html:
* svg/foreignObject/clip-expected.png:
* svg/foreignObject/clip-expected.txt:
* svg/foreignObject/clip.html:
* svg/foreignObject/filter-expected.png:
* svg/foreignObject/filter-expected.txt:
* svg/foreignObject/filter.html:
* svg/foreignObject/mask-expected.png:
* svg/foreignObject/mask-expected.txt:
* svg/foreignObject/mask.html:
* svg/foreignObject/multiple-foreign-objects-expected.txt:
* svg/foreignObject/multiple-foreign-objects.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100465
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-11-16 Florin Malita <fmalita@google.com>
+
+ Recent svg/foreignObject tests failing on Mac & Win
+ https://bugs.webkit.org/show_bug.cgi?id=72386
+
+ Reviewed by Simon Fraser.
+
+ Drop unnecessary text elements from the svg/FO tests to avoid platform font size variance.
+
+ * platform/chromium-cg-mac-snowleopard/svg/foreignObject/clip-expected.png: Removed.
+ * platform/chromium-cg-mac-snowleopard/svg/foreignObject/filter-expected.png: Removed.
+ * platform/chromium-cg-mac-snowleopard/svg/foreignObject/mask-expected.png: Removed.
+ * platform/chromium-win/svg/foreignObject/background-render-phase-expected.txt: Removed.
+ * platform/chromium-win/svg/foreignObject/clip-expected.txt: Removed.
+ * platform/chromium-win/svg/foreignObject/filter-expected.txt: Removed.
+ * platform/chromium-win/svg/foreignObject/mask-expected.txt: Removed.
+ * platform/chromium/svg/foreignObject/background-render-phase-expected.txt: Removed.
+ * platform/chromium/svg/foreignObject/clip-expected.txt: Removed.
+ * platform/chromium/svg/foreignObject/filter-expected.txt: Removed.
+ * platform/chromium/svg/foreignObject/mask-expected.txt: Removed.
+ * platform/mac-snowleopard/svg/foreignObject/multiple-foreign-objects-expected.txt: Removed.
+ * platform/qt/svg/foreignObject/background-render-phase-expected.png: Removed.
+ * platform/qt/svg/foreignObject/background-render-phase-expected.txt: Removed.
+ * platform/qt/svg/foreignObject/clip-expected.png: Removed.
+ * platform/qt/svg/foreignObject/clip-expected.txt: Removed.
+ * platform/qt/svg/foreignObject/filter-expected.png: Removed.
+ * platform/qt/svg/foreignObject/filter-expected.txt: Removed.
+ * platform/qt/svg/foreignObject/mask-expected.png: Removed.
+ * platform/qt/svg/foreignObject/mask-expected.txt: Removed.
+ * platform/qt/svg/foreignObject/multiple-foreign-objects-expected.png: Removed.
+ * platform/qt/svg/foreignObject/multiple-foreign-objects-expected.txt: Removed.
+ * svg/foreignObject/background-render-phase-expected.txt:
+ * svg/foreignObject/background-render-phase.html:
+ * svg/foreignObject/clip-expected.png:
+ * svg/foreignObject/clip-expected.txt:
+ * svg/foreignObject/clip.html:
+ * svg/foreignObject/filter-expected.png:
+ * svg/foreignObject/filter-expected.txt:
+ * svg/foreignObject/filter.html:
+ * svg/foreignObject/mask-expected.png:
+ * svg/foreignObject/mask-expected.txt:
+ * svg/foreignObject/mask.html:
+ * svg/foreignObject/multiple-foreign-objects-expected.txt:
+ * svg/foreignObject/multiple-foreign-objects.html:
+
2011-11-16 Vsevolod Vlasov <vsevik@chromium.org>
Web Inspector: Application cache status should be updated after swapCache().
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x50
- RenderSVGPath {rect} at (0,0) size 100x50 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x50
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#008000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="clip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {rect} at (0,0) size 200x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=200.00] [height=50.00]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
- RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceFilter {filter} [id="filter"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
- [feColorMatrix type="MATRIX" values="1.00 0.00 0.00 0.00 0.00 1.00 1.00 0.00 0.00 0.00 1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00"]
- [SourceGraphic]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
- RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceMasker {mask} [id="mask"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
- RenderSVGPath {rect} at (0,0) size 200x50 [fill={[type=SOLID] [color=#FFFFFF]}] [x=0.00] [y=0.00] [width=200.00] [height=50.00]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
- RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x50
- RenderSVGPath {rect} at (0,0) size 100x50 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x50
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#008000]
- RenderText {#text} at (0,0) size 4x18
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="clip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {rect} at (0,0) size 200x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=200.00] [height=50.00]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x18
- text run at (0,0) width 4: " "
- RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x18
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceFilter {filter} [id="filter"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
- [feColorMatrix type="MATRIX" values="1.00 0.00 0.00 0.00 0.00 1.00 1.00 0.00 0.00 0.00 1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00"]
- [SourceGraphic]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x18
- text run at (0,0) width 4: " "
- RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x18
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceMasker {mask} [id="mask"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
- RenderSVGPath {rect} at (0,0) size 200x50 [fill={[type=SOLID] [color=#FFFFFF]}] [x=0.00] [y=0.00] [width=200.00] [height=50.00]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x18
- text run at (0,0) width 4: " "
- RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x18
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 400x100
- RenderSVGForeignObject {foreignObject} at (0,0) size 100x100
- RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
- RenderText {#text} at (0,0) size 4x18
- text run at (0,0) width 4: " "
- RenderSVGForeignObject {foreignObject} at (150,0) size 100x100
- RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x50
- RenderSVGPath {rect} at (0,0) size 100x50 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x50
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#008000]
- RenderText {#text} at (0,0) size 4x21
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="clip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {rect} at (0,0) size 200x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=200.00] [height=50.00]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x21
- text run at (0,0) width 4: " "
- RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x21
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceFilter {filter} [id="filter"] [filterUnits=objectBoundingBox] [primitiveUnits=userSpaceOnUse]
- [feColorMatrix type="MATRIX" values="1.00 0.00 0.00 0.00 0.00 1.00 1.00 0.00 0.00 0.00 1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00"]
- [SourceGraphic]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x21
- text run at (0,0) width 4: " "
- RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x21
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 200x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceMasker {mask} [id="mask"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
- RenderSVGPath {rect} at (0,0) size 200x50 [fill={[type=SOLID] [color=#FFFFFF]}] [x=0.00] [y=0.00] [width=200.00] [height=50.00]
- RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x21
- text run at (0,0) width 4: " "
- RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x21
- text run at (0,0) width 4: " "
- RenderText {#text} at (0,0) size 0x0
+++ /dev/null
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 400x100
- RenderSVGForeignObject {foreignObject} at (0,0) size 100x100
- RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
- RenderText {#text} at (0,0) size 4x21
- text run at (0,0) width 4: " "
- RenderSVGForeignObject {foreignObject} at (150,0) size 100x100
- RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
- RenderText {#text} at (0,0) size 0x0
RenderSVGPath {rect} at (0,0) size 100x50 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=100.00] [height=50.00]
RenderSVGForeignObject {foreignObject} at (0,0) size 200x50
RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#008000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
RenderText {#text} at (0,0) size 0x0
<rect x="0" y="0" width="100" height="50" fill="red"></rect>
<foreignObject x="0" y="0" width="200" height="50">
<html xmlns="http://www.w3.org/1999/xhtml">
- <body style="dmargin: 0;">
- <div style="background: green; height: 50px;"> </div>
+ <body>
+ <div style="background: green; height: 50px;"></div>
</body>
</html>
</foreignObject>
RenderSVGResourceClipper {clipPath} [id="clip"] [clipPathUnits=userSpaceOnUse]
RenderSVGPath {rect} at (0,0) size 200x50 [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=200.00] [height=50.00]
RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
+ RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#008000]
RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
RenderText {#text} at (0,0) size 0x0
</defs>
<foreignObject width="200" height="100" clip-path="url(#clip)" opacity=".5">
<html xmlns="http://www.w3.org/1999/xhtml">
- <body style="dmargin: 0;">
- <div style="background: #00ff00; height: 50px;"> </div>
- <div style="background: red; height: 50px;"> </div>
+ <body>
+ <div style="background: green; height: 50px;"></div>
+ <div style="background: red; height: 50px;"></div>
</body>
</html>
</foreignObject>
[feColorMatrix type="MATRIX" values="1.00 0.00 0.00 0.00 0.00 1.00 1.00 0.00 0.00 0.00 1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00"]
[SourceGraphic]
RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
+ RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#008000]
RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
RenderText {#text} at (0,0) size 0x0
</defs>
<foreignObject width="200" height="100" filter="url(#filter)" opacity=".5">
<html xmlns="http://www.w3.org/1999/xhtml">
- <body style="dmargin: 0;">
- <div style="background: #00ff00; height: 50px;"> </div>
- <div style="background: #ff0000; height: 50px;"> </div>
+ <body>
+ <div style="background: green; height: 50px;"></div>
+ <div style="background: red; height: 50px;"></div>
</body>
</html>
</foreignObject>
RenderSVGResourceMasker {mask} [id="mask"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
RenderSVGPath {rect} at (0,0) size 200x50 [fill={[type=SOLID] [color=#FFFFFF]}] [x=0.00] [y=0.00] [width=200.00] [height=50.00]
RenderSVGForeignObject {foreignObject} at (0,0) size 200x100
- RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#00FF00]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
+ RenderBlock {DIV} at (0,0) size 200x50 [bgcolor=#008000]
RenderBlock {DIV} at (0,50) size 200x50 [bgcolor=#FF0000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
RenderText {#text} at (0,0) size 0x0
</defs>
<foreignObject width="200" height="100" mask="url(#mask)" opacity=".5">
<html xmlns="http://www.w3.org/1999/xhtml">
- <body style="dmargin: 0;">
- <div style="background: #00ff00; height: 50px;"> </div>
- <div style="background: red; height: 50px;"> </div>
+ <body>
+ <div style="background: green; height: 50px;"></div>
+ <div style="background: red; height: 50px;"></div>
</body>
</html>
</foreignObject>
RenderSVGRoot {svg} at (0,0) size 400x100
RenderSVGForeignObject {foreignObject} at (0,0) size 100x100
RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
- RenderText {#text} at (0,0) size 4x19
- text run at (0,0) width 4: " "
RenderSVGForeignObject {foreignObject} at (150,0) size 100x100
RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
RenderText {#text} at (0,0) size 0x0
<foreignObject width="100" height="100">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
- <div style="background: green; width: 100px; height: 100px;"> </div>
+ <div style="background: green; width: 100px; height: 100px;"></div>
</body>
</html>
</foreignObject>