Closed Bug 1143405 Opened 9 years ago Closed 9 years ago

Background of html and body element are not applied correctly inside foreignObject

Categories

(Core :: SVG, defect)

36 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: christoph.burgmer, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150305021524

Steps to reproduce:

Place a HTML document with background set on either the HTML or BODY element inside a SVG's foreignObject element.


Actual results:

The background is only applied for the respective element itself (the size of the HTML/BODY element).


Expected results:

The whole canvas of the SVG should be set to the element's background as following "3.11. Backgrounds of Special Elements" from "CSS Backgrounds and Borders Module Level 3" (http://www.w3.org/TR/css3-background/#special-backgrounds).
Component: Untriaged → SVG
Product: Firefox → Core
foreignObject does not create a root element.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
I don't understand the argument for marking this issue invalid. 
The specification in http://www.w3.org/TR/css3-background/#special-backgrounds does speak of a root element, but then goes on how HTML's body element's background should propagate nevertheless.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: